diff --git a/ethchain/closure.go b/ethchain/closure.go index f2b46e461bb2597815ab3db81879c7fe4edf23bb..01fd5d79458e3bbf2cedf58d60e1f8592ac89a75 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 }