diff options
author | obscuren <geffobscura@gmail.com> | 2014-06-13 18:45:11 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-06-13 18:45:11 +0800 |
commit | d078e9b8c92fb3bd5789a8e39c169b19864e0a04 (patch) | |
tree | 34ce9defddbd84364e681362eef072fa5e5dab97 /ethchain/state_object.go | |
parent | b855e5f7df194c84651d7cc7ee32d307a2fa0a2e (diff) | |
download | go-tangerine-d078e9b8c92fb3bd5789a8e39c169b19864e0a04.tar go-tangerine-d078e9b8c92fb3bd5789a8e39c169b19864e0a04.tar.gz go-tangerine-d078e9b8c92fb3bd5789a8e39c169b19864e0a04.tar.bz2 go-tangerine-d078e9b8c92fb3bd5789a8e39c169b19864e0a04.tar.lz go-tangerine-d078e9b8c92fb3bd5789a8e39c169b19864e0a04.tar.xz go-tangerine-d078e9b8c92fb3bd5789a8e39c169b19864e0a04.tar.zst go-tangerine-d078e9b8c92fb3bd5789a8e39c169b19864e0a04.zip |
Refactoring state transitioning
Diffstat (limited to 'ethchain/state_object.go')
-rw-r--r-- | ethchain/state_object.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/state_object.go b/ethchain/state_object.go index a1dd531de..b92374882 100644 --- a/ethchain/state_object.go +++ b/ethchain/state_object.go @@ -135,7 +135,7 @@ func (c *StateObject) ConvertGas(gas, price *big.Int) error { func (self *StateObject) BuyGas(gas, price *big.Int) error { rGas := new(big.Int).Set(gas) - rGas.Mul(gas, price) + rGas.Mul(rGas, price) self.AddAmount(rGas) |