From 391c1cb5d4e81b6ecb6ba93b7ae01696f76c83e0 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Fri, 11 Aug 2023 16:16:43 +0300 Subject: [PATCH] [#38] container: Fix DelInfo owner type It is not a 20-byte scripthash, it is a 25-byte slice (prefix + script-hash + checksum). Signed-off-by: Evgenii Stratonikov --- container/container_contract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/container_contract.go b/container/container_contract.go index 68d5b8f..e8e6bb1 100644 --- a/container/container_contract.go +++ b/container/container_contract.go @@ -339,7 +339,7 @@ func Delete(containerID []byte, signature interop.Signature, publicKey interop.P } type DelInfo struct { - Owner interop.Hash160 + Owner []byte Epoch int }