Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianToledano committed Nov 17, 2023
1 parent efb92eb commit 9169d83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/tx/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -458,12 +458,14 @@ func (f Factory) getSimSignatureData(pk cryptotypes.PubKey) signing.SignatureDat
if !ok {
return &signing.SingleSignatureData{SignMode: f.signMode}
}

multiSignatureData := make([]signing.SignatureData, 0, multisigPubKey.Threshold)
for i := uint32(0); i < multisigPubKey.Threshold; i++ {
multiSignatureData = append(multiSignatureData, &signing.SingleSignatureData{
SignMode: f.SignMode(),
})
}

return &signing.MultiSignatureData{
Signatures: multiSignatureData,
}
Expand Down

0 comments on commit 9169d83

Please sign in to comment.