From e2a6adf171301f5ab4769a759e2b040169fc5097 Mon Sep 17 00:00:00 2001 From: Adrian Sutton Date: Wed, 17 Oct 2018 11:00:43 +1000 Subject: [PATCH] [MINOR] Remove unused original value lookup. (#76) --- .../pegasys/pantheon/ethereum/vm/operations/SStoreOperation.java | 1 - 1 file changed, 1 deletion(-) diff --git a/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/vm/operations/SStoreOperation.java b/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/vm/operations/SStoreOperation.java index c713f0c1af..ab29bdd9ad 100644 --- a/ethereum/core/src/main/java/tech/pegasys/pantheon/ethereum/vm/operations/SStoreOperation.java +++ b/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()