From daa2b3b92089bbfd3fde96aa00e16ad39546b093 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 1 Dec 2023 09:25:41 +0300 Subject: [PATCH] neotest: adjust Signer documentation Signed-off-by: Anna Shaleva --- pkg/neotest/signer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/neotest/signer.go b/pkg/neotest/signer.go index 7435cb10e..45369101b 100644 --- a/pkg/neotest/signer.go +++ b/pkg/neotest/signer.go @@ -19,9 +19,9 @@ import ( // Signer is a generic interface which can be either a simple- or multi-signature signer. type Signer interface { - // ScriptHash returns a signer script hash. - Script() []byte // Script returns a signer verification script. + Script() []byte + // ScriptHash returns a signer script hash. ScriptHash() util.Uint160 // SignHashable returns an invocation script for signing an item. SignHashable(uint32, hash.Hashable) []byte