Fix skip confirm logic (#7085)

* Fix skip confirm logic

* Fix dry run

* Update gh actions

* Replace switch with if

* revert liveness fix

* Add key.Sum validation

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
This commit is contained in:
SaReN
2020-08-21 15:43:12 +00:00
committed by GitHub
co-authored by Alessio Treglia
parent 7c0f46ce7f
commit 2e1fbaed9c
3 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ func BroadcastTx(clientCtx client.Context, txf Factory, msgs ...sdk.Msg) error {
}
if !clientCtx.SkipConfirm {
out, err := clientCtx.JSONMarshaler.MarshalJSON(tx)
out, err := clientCtx.TxConfig.TxJSONEncoder()(tx.GetTx())
if err != nil {
return err
}