core: mark blocked accounts with empty byte array

This commit is contained in:
Anna Shaleva 2021-02-04 12:19:04 +03:00
parent 6a4e312eac
commit 12f7111ca8

View file

@ -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)