diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-20 22:28:11 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-21 23:09:19 +0800 |
commit | 07c3de3f75a579cf573fae7bf7c0ec11427dda9f (patch) | |
tree | 2007b80da898cb96c9a00f1565bebb64271d712b /miner/worker.go | |
parent | 3deded28a50398b8ce108c72f27ea861c1bce178 (diff) | |
download | dexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.tar.gz dexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.tar.zst dexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.zip |
core, miner, xeth: renamed gas methods
* BuyGas => SubGas
* RefundGas => AddGas
* SetGasPool => SetGasLimit
Diffstat (limited to 'miner/worker.go')
-rw-r--r-- | miner/worker.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go index d339507ca..55c23376c 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -319,7 +319,7 @@ func (self *worker) makeCurrent() { current.localMinedBlocks = self.current.localMinedBlocks } - current.coinbase.SetGasPool(core.CalcGasLimit(parent)) + current.coinbase.SetGasLimit(core.CalcGasLimit(parent)) self.current = current } |