Merge pull request #3246 from nspcc-dev/fix-doc

neotest: adjust Signer documentation
This commit is contained in:
Roman Khimov 2023-12-01 10:23:46 +03:00 committed by GitHub
commit 6c0c2a6a98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,9 +19,9 @@ import (
// Signer is a generic interface which can be either a simple- or multi-signature signer. // Signer is a generic interface which can be either a simple- or multi-signature signer.
type Signer interface { type Signer interface {
// ScriptHash returns a signer script hash.
Script() []byte
// Script returns a signer verification script. // Script returns a signer verification script.
Script() []byte
// ScriptHash returns a signer script hash.
ScriptHash() util.Uint160 ScriptHash() util.Uint160
// SignHashable returns an invocation script for signing an item. // SignHashable returns an invocation script for signing an item.
SignHashable(uint32, hash.Hashable) []byte SignHashable(uint32, hash.Hashable) []byte