From 12f7111ca8cbafb4568b65d516340de393891b76 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Thu, 4 Feb 2021 12:19:04 +0300 Subject: [PATCH] core: mark blocked accounts with empty byte array --- pkg/core/native/policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/native/policy.go b/pkg/core/native/policy.go index 79a9edf40..aa0e9e651 100644 --- a/pkg/core/native/policy.go +++ b/pkg/core/native/policy.go @@ -490,7 +490,7 @@ func (p *Policy) blockAccount(ic *interop.Context, args []stackitem.Item) stacki p.lock.Lock() defer p.lock.Unlock() err := ic.DAO.PutStorageItem(p.ContractID, key, &state.StorageItem{ - Value: []byte{0x01}, + Value: []byte{}, }) if err != nil { panic(err)