Skip to content

Commit

Permalink
fix(testsuite/sims): set all signatures (cosmos#20151)
Browse files Browse the repository at this point in the history
Co-authored-by: qinglin89 <316032931@qq.com>
  • Loading branch information
2 people authored and meetrick committed Apr 29, 2024
1 parent 8767a78 commit 1a203d1
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 @@ -79,10 +79,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 1a203d1

Please sign in to comment.