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

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
mbaxter 6 years ago committed by GitHub
parent fcd048fc32
commit 63b2578b2f
  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);
}
// After committing, clear data
deletedAccounts().clear();
updatedAccounts().clear();
}
}
}

Loading…
Cancel
Save