Add fees and memo to REST, updated CLI to receive coins as fees (#3069)

This commit is contained in:
Federico Kunze
2018-12-19 16:26:33 -08:00
committed by Jack Zampolin
parent c9ef680f67
commit f02f7aa5a0
24 changed files with 461 additions and 397 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ func makeSignCmd(cdc *amino.Codec) func(cmd *cobra.Command, args []string) error
txBldr := authtxb.NewTxBuilderFromCLI()
if viper.GetBool(flagValidateSigs) {
if !printAndValidateSigs(cliCtx, txBldr.ChainID, stdTx, offline) {
if !printAndValidateSigs(cliCtx, txBldr.GetChainID(), stdTx, offline) {
return fmt.Errorf("signatures validation failed")
}