Merge PR #5348: Fix Ignored Error During Tx Generate Only Mode

This commit is contained in:
Alexander Bezobchuk
2019-12-01 10:06:34 -05:00
committed by GitHub
parent b9cb3e105d
commit 82a5238a46
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -185,6 +185,7 @@ to detail this new feature and how state transitions occur.
### Bug Fixes
* (client) [\#5303](https://github.com/cosmos/cosmos-sdk/issues/5303) Fix ignored error in tx generate only mode.
* (iavl) [\#5276](https://github.com/cosmos/cosmos-sdk/issues/5276) Fix potential race condition in `iavlIterator#Close`.
* (cli) [\#4763](https://github.com/cosmos/cosmos-sdk/issues/4763) Fix flag `--min-self-delegation` for staking `EditValidator`
* (keys) Fix ledger custom coin type support bug
+1 -1
View File
@@ -331,7 +331,7 @@ func buildUnsignedStdTxOffline(txBldr authtypes.TxBuilder, cliCtx context.CLICon
stdSignMsg, err := txBldr.BuildSignMsg(msgs)
if err != nil {
return stdTx, nil
return stdTx, err
}
return authtypes.NewStdTx(stdSignMsg.Msgs, stdSignMsg.Fee, nil, stdSignMsg.Memo), nil