Skip to content

Commit

Permalink
Update multisignature.go
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnBonny authored Jan 6, 2025
1 parent 7c7e0cc commit e2ae5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/types/multisig/multisignature.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func getIndex(pk types.PubKey, keys []types.PubKey) int {
}

// AddSignature adds a signature to the multisig, at the corresponding index. The index must
// represent the pubkey index in the LegacyAmingPubKey structure, which verifies this signature.
// represent the pubkey index in the LegacyAminoPubKey structure, which verifies this signature.
// If the signature already exists, replace it.
func AddSignature(mSig *signing.MultiSignatureData, sig signing.SignatureData, index int) {
newSigIndex := mSig.BitArray.NumTrueBitsBefore(index)
Expand Down

0 comments on commit e2ae5f0

Please sign in to comment.