From 4a4600174679510b3a3c3322efc73b0516493d9c Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Tue, 4 Oct 2022 09:07:57 +0300 Subject: [PATCH] smartcontract: fix error message for CreateMultiSigRedeemScript --- pkg/smartcontract/contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/smartcontract/contract.go b/pkg/smartcontract/contract.go index bf19a2284..90b34267f 100644 --- a/pkg/smartcontract/contract.go +++ b/pkg/smartcontract/contract.go @@ -14,7 +14,7 @@ import ( // where n is the length of publicKeys. func CreateMultiSigRedeemScript(m int, publicKeys keys.PublicKeys) ([]byte, error) { if m < 1 { - return nil, fmt.Errorf("param m cannot be smaller or equal to 1 got %d", m) + return nil, fmt.Errorf("param m cannot be smaller than 1, got %d", m) } if m > len(publicKeys) { return nil, fmt.Errorf("length of the signatures (%d) is higher then the number of public keys", m)