Skip to content

Commit

Permalink
fix(testsuite/sims): set all signatures (backport cosmos#20151) (cosm…
Browse files Browse the repository at this point in the history
…os#20186)

Co-authored-by: Leon <[email protected]>
(cherry picked from commit 9ab21fb)
  • Loading branch information
mergify[bot] authored and karzak committed Dec 18, 2024
1 parent 5cf7e80 commit 39142b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testutil/sims/tx_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ func GenSignedMockTx(r *rand.Rand, txConfig client.TxConfig, msgs []sdk.Msg, fee
panic(err)
}
sigs[i].Data.(*signing.SingleSignatureData).Signature = sig
err = tx.SetSignatures(sigs...)
if err != nil {
panic(err)
}
}
err = tx.SetSignatures(sigs...)
if err != nil {
panic(err)
}

return tx.GetTx(), nil
Expand Down

0 comments on commit 39142b1

Please sign in to comment.