aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/closure.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethchain/closure.go b/ethchain/closure.go
index f2b46e461..01fd5d794 100644
--- a/ethchain/closure.go
+++ b/ethchain/closure.go
@@ -35,6 +35,7 @@ func NewClosure(callee, object *StateObject, script []byte, state *State, gas, p
// and we don't want the transaction's values to change.
c.Gas = new(big.Int).Set(gas)
c.Price = new(big.Int).Set(price)
+ c.UsedGas = new(big.Int)
return c
}