Skip to content

Commit d1e4df7

Browse files
cosmosfaucet: add json output to launchpad send command (#784)
1 parent 7a221bf commit d1e4df7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

starport/pkg/chaincmd/chaincmd.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,10 @@ func (c ChainCmd) BankSendCommand(fromAddress, toAddress, amount string) step.Op
437437
command = c.attachKeyringBackend(command)
438438
command = c.attachNode(command)
439439

440+
if c.sdkVersion.Major().Is(cosmosver.Launchpad) {
441+
command = append(command, optionOutput, constJSON)
442+
}
443+
440444
return c.cliCommand(command)
441445
}
442446

0 commit comments

Comments
 (0)