From 6503699c6e7883ee05a8e8fadc8685c84b34cfbf Mon Sep 17 00:00:00 2001 From: mbaxter Date: Mon, 22 Oct 2018 13:12:56 -0400 Subject: [PATCH] Don't clear state modifications on commit (#112) --- .../ethereum/worldstate/DefaultMutableWorldState.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/worldstate/DefaultMutableWorldState.java b/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/worldstate/DefaultMutableWorldState.java index 6a166f6808..b3c87fbd42 100644 --- a/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/worldstate/DefaultMutableWorldState.java +++ b/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); } - - // After committing, clear data - deletedAccounts().clear(); - updatedAccounts().clear(); } } }