forked from TrueCloudLab/neoneo-go
neotest: adjust Signer documentation
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
34be76efb7
commit
daa2b3b920
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue