forked from TrueCloudLab/neoneo-go
smartcontract: fix error message for CreateMultiSigRedeemScript
This commit is contained in:
parent
a91cf2a007
commit
4a46001746
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue