Skip to content

Commit 0362722

Browse files
authoredOct 26, 2022
fix: error message unexpected number of signatures (#920)
The modified error message was incorrect because it errors when the number of signatures `!= 1`.
1 parent d272a25 commit 0362722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎x/payment/types/payfordata.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func BuildPayForDataTxFromWireTx(
8888
return nil, err
8989
}
9090
if len(origSigs) != 1 {
91-
return nil, fmt.Errorf("unexpected number of signers: %d", len(origSigs))
91+
return nil, fmt.Errorf("unexpected number of signatures: %d", len(origSigs))
9292
}
9393

9494
newSig := signing.SignatureV2{

0 commit comments

Comments
 (0)