aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-06-22 07:49:47 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-06-22 07:49:47 +0800
commit9cf7913c61c6f9c1f36a44778a75e6a91a741be4 (patch)
treea68be62cd9460f517d9cbc7b02c861db4012a604 /xeth
parent7633dfdc082e8a692ba8089732d353ad31b0a0d6 (diff)
parent398d08a8dd9617954c55219872a5e0eecc1ea41d (diff)
downloaddexon-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar
dexon-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.gz
dexon-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.bz2
dexon-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.lz
dexon-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.xz
dexon-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.tar.zst
dexon-9cf7913c61c6f9c1f36a44778a75e6a91a741be4.zip
Merge pull request #1304 from obscuren/state-renames
core, miner, xeth: renamed gas methods
Diffstat (limited to 'xeth')
-rw-r--r--xeth/xeth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 7342be4a9..99e17423a 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -212,7 +212,7 @@ func (self *XEth) ApplyTestTxs(statedb *state.StateDB, address common.Address, t
block := self.backend.ChainManager().NewBlock(address)
coinbase := statedb.GetStateObject(address)
- coinbase.SetGasPool(big.NewInt(10000000))
+ coinbase.SetGasLimit(big.NewInt(10000000))
txs := self.backend.TxPool().GetQueuedTransactions()
for i := 0; i < len(txs); i++ {
@@ -827,7 +827,7 @@ func (self *XEth) Call(fromStr, toStr, valueStr, gasStr, gasPriceStr, dataStr st
}
from.SetBalance(common.MaxBig)
- from.SetGasPool(self.backend.ChainManager().GasLimit())
+ from.SetGasLimit(self.backend.ChainManager().GasLimit())
msg := callmsg{
from: from,
to: common.HexToAddress(toStr),