From 7aa540e6fa7c1b3d648df6e46327880892e9eddd Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Fri, 1 Jul 2022 10:10:23 +0600 Subject: [PATCH] save (#508) --- kv/kvcache/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kv/kvcache/cache.go b/kv/kvcache/cache.go index 7b8c1409f..9d2f08c05 100644 --- a/kv/kvcache/cache.go +++ b/kv/kvcache/cache.go @@ -250,7 +250,7 @@ func (c *Coherent) OnNewBlock(stateChanges *remote.StateChangeBatch) { k := make([]byte, 32) c.hasher.Sum(k) c.addCode(k, sc.Changes[i].Code, r, id) - case remote.Action_DELETE: + case remote.Action_REMOVE: addr := gointerfaces.ConvertH160toAddress(sc.Changes[i].Address) c.add(addr[:], nil, r, id) case remote.Action_STORAGE: