[MINOR] Remove unused original value lookup. (#76)

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Adrian Sutton 6 years ago committed by GitHub
parent b4330969c1
commit 962ca18056
  1. 1
      ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/vm/operations/SStoreOperation.java

@ -42,7 +42,6 @@ public class SStoreOperation extends AbstractOperation {
assert account != null : "VM account should exists";
// Increment the refund counter.
final UInt256 originalValue = getOriginalValue(frame, key);
final UInt256 currentValue = account.getStorageValue(key);
frame.incrementGasRefund(
gasCalculator()

Loading…
Cancel
Save