core: mark blocked accounts with empty byte array
This commit is contained in:
parent
6a4e312eac
commit
12f7111ca8
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ func (p *Policy) blockAccount(ic *interop.Context, args []stackitem.Item) stacki
|
||||||
p.lock.Lock()
|
p.lock.Lock()
|
||||||
defer p.lock.Unlock()
|
defer p.lock.Unlock()
|
||||||
err := ic.DAO.PutStorageItem(p.ContractID, key, &state.StorageItem{
|
err := ic.DAO.PutStorageItem(p.ContractID, key, &state.StorageItem{
|
||||||
Value: []byte{0x01},
|
Value: []byte{},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Reference in a new issue