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:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user