aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-06-20 22:28:11 +0800
committerobscuren <geffobscura@gmail.com>2015-06-21 23:09:19 +0800
commit07c3de3f75a579cf573fae7bf7c0ec11427dda9f (patch)
tree2007b80da898cb96c9a00f1565bebb64271d712b /miner
parent3deded28a50398b8ce108c72f27ea861c1bce178 (diff)
downloaddexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.tar
dexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.tar.gz
dexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.tar.bz2
dexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.tar.lz
dexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.tar.xz
dexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.tar.zst
dexon-07c3de3f75a579cf573fae7bf7c0ec11427dda9f.zip
core, miner, xeth: renamed gas methods
* BuyGas => SubGas * RefundGas => AddGas * SetGasPool => SetGasLimit
Diffstat (limited to 'miner')
-rw-r--r--miner/worker.go2
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
}