diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index 2eb6a7698..e2327de60 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -2773,7 +2773,7 @@ var ( ErrInvalidSignature = fmt.Errorf("%w: invalid signature", ErrVerificationFailed) ErrInvalidVerificationScript = errors.New("invalid verification script") ErrUnknownVerificationContract = errors.New("unknown verification contract") - ErrInvalidVerificationContract = errors.New("verification contract is missing `verify` method") + ErrInvalidVerificationContract = errors.New("verification contract is missing `verify` method or `verify` method has unexpected return value") ) // InitVerificationContext initializes context for witness check.