core, miner, xeth: renamed gas methods

* BuyGas => SubGas
* RefundGas => AddGas
* SetGasPool => SetGasLimit
This commit is contained in:
obscuren
2015-06-20 16:28:11 +02:00
parent 3deded28a5
commit 07c3de3f75
6 changed files with 10 additions and 34 deletions

View File

@ -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
}