Skip to content

Commit

Permalink
fix(testsuite/sims): set all signatures (#20151)
Browse files Browse the repository at this point in the history
Co-authored-by: qinglin89 <[email protected]>
(cherry picked from commit c6890b3)
  • Loading branch information
leonz789 authored and mergify[bot] committed Apr 25, 2024
1 parent b68da64 commit a9bb072
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 a9bb072

Please sign in to comment.