From bb9ec466e19952a1e879b84c11bf80ef3761cce4 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Sun, 18 Sep 2022 18:35:40 +0200 Subject: [PATCH] simplify --- x/gov/client/cli/prompt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gov/client/cli/prompt.go b/x/gov/client/cli/prompt.go index 44d73ff97eb0..b997f5a4a8b9 100644 --- a/x/gov/client/cli/prompt.go +++ b/x/gov/client/cli/prompt.go @@ -121,7 +121,7 @@ func (p *proposalTypes) Prompt(cdc codec.Codec) (*proposal, ProposalMetadata, er if err != nil { return nil, metadata, fmt.Errorf("failed to set proposal metadata: %w", err) } - proposal.Metadata = fmt.Sprintf("ipfs://<%s CID>", draftMetadataFileName) + proposal.Metadata = "ipfs://CID" // set deposit depositPrompt := promptui.Prompt{