mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
Merge pull request #3246 from nspcc-dev/fix-doc
neotest: adjust Signer documentation
This commit is contained in:
commit
6c0c2a6a98
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