Skip to content

Commit

Permalink
update with suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Jan 18, 2022
1 parent 959031e commit 9f7304f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain-evm/src/machine.rs
Expand Up @@ -376,9 +376,9 @@ impl<'runtime> ApplyBackend for VirtualMachine<'runtime> {
for (index, value) in apply_storage {
account.storage = if value == crate::state::Value::default() {
// value is full of zeroes, remove it
account.storage.clone().remove(&index)
account.storage.remove(&index)
} else {
account.storage.clone().put(index, value)
account.storage.put(index, value)
}
}

Expand Down

0 comments on commit 9f7304f

Please sign in to comment.