Skip to content

Commit

Permalink
fix: error message unexpected number of signatures (#920)
Browse files Browse the repository at this point in the history
The modified error message was incorrect because it errors when the
number of signatures `!= 1`.
  • Loading branch information
rootulp committed Oct 26, 2022
1 parent d272a25 commit 0362722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/payment/types/payfordata.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func BuildPayForDataTxFromWireTx(
return nil, err
}
if len(origSigs) != 1 {
return nil, fmt.Errorf("unexpected number of signers: %d", len(origSigs))
return nil, fmt.Errorf("unexpected number of signatures: %d", len(origSigs))
}

newSig := signing.SignatureV2{
Expand Down

0 comments on commit 0362722

Please sign in to comment.