Set initial used gas

pull/150/head
obscuren 11 years ago
parent 9988b1a047
commit 6e98e5709a
  1. 1
      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
}

Loading…
Cancel
Save