Don't clear state modifications on commit (#112)

mbaxter 6 years ago committed by GitHub
parent 570ba55520
commit 6503699c6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/worldstate/DefaultMutableWorldState.java

@ -390,10 +390,6 @@ public class DefaultMutableWorldState implements MutableWorldState {
wrapped.accountStateTrie.put(updated.getAddressHash(), account); wrapped.accountStateTrie.put(updated.getAddressHash(), account);
} }
// After committing, clear data
deletedAccounts().clear();
updatedAccounts().clear();
} }
} }
} }

Loading…
Cancel
Save