core: change text in ErrInvalidVerificationContract
No functional changes, just a refactoring. Change error text to be able to use this error from external packages. Signed-off-by: Tatiana Nesterenko <tatiana@nspcc.io>
This commit is contained in:
parent
f3760c1a98
commit
90f1b0fd17
1 changed files with 1 additions and 1 deletions
|
@ -2773,7 +2773,7 @@ var (
|
||||||
ErrInvalidSignature = fmt.Errorf("%w: invalid signature", ErrVerificationFailed)
|
ErrInvalidSignature = fmt.Errorf("%w: invalid signature", ErrVerificationFailed)
|
||||||
ErrInvalidVerificationScript = errors.New("invalid verification script")
|
ErrInvalidVerificationScript = errors.New("invalid verification script")
|
||||||
ErrUnknownVerificationContract = errors.New("unknown verification contract")
|
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.
|
// InitVerificationContext initializes context for witness check.
|
||||||
|
|
Loading…
Reference in a new issue