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

Adrian Sutton 6 years ago committed by GitHub
parent 03f92e3eb0
commit e2a6adf171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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