aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/pipe.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-23 20:48:44 +0800
committerobscuren <geffobscura@gmail.com>2014-12-23 20:48:44 +0800
commit4cd79d8ddd7608d60344b13fe4bda7315429d1d9 (patch)
tree0d1abaa9ef5c302c1ef51e8e8dbd94e9e696f28a /xeth/pipe.go
parent4b52cd512d3c54451e680fcc6c3d67d059065bec (diff)
downloaddexon-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.tar
dexon-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.tar.gz
dexon-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.tar.bz2
dexon-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.tar.lz
dexon-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.tar.xz
dexon-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.tar.zst
dexon-4cd79d8ddd7608d60344b13fe4bda7315429d1d9.zip
Refactored block & Transaction
* Includes new rlp decoder
Diffstat (limited to 'xeth/pipe.go')
-rw-r--r--xeth/pipe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/pipe.go b/xeth/pipe.go
index 06820cc86..775d5cfc5 100644
--- a/xeth/pipe.go
+++ b/xeth/pipe.go
@@ -140,7 +140,7 @@ func (self *XEth) Transact(key *crypto.KeyPair, to []byte, value, gas, price *et
// Do some pre processing for our "pre" events and hooks
block := self.chainManager.NewBlock(key.Address())
coinbase := state.GetStateObject(key.Address())
- coinbase.SetGasPool(block.GasLimit)
+ coinbase.SetGasPool(block.GasLimit())
self.blockManager.ApplyTransactions(coinbase, state, block, types.Transactions{tx}, true)
err := self.obj.TxPool().Add(tx)