This commit is contained in:
Alex Sharov 2022-07-01 10:10:23 +06:00 committed by GitHub
parent 2a6be9cb92
commit 7aa540e6fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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