aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/state_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-16 17:51:16 +0800
committerobscuren <geffobscura@gmail.com>2014-06-16 17:51:16 +0800
commit48bca30e61f869a00111abe5d818ac7379854616 (patch)
tree6d74a838ae054a65f937f97c51f5780adae1642b /ethchain/state_manager.go
parent9f62d441a7c785b88f89d52643a9deaa822af15e (diff)
downloadgo-tangerine-48bca30e61f869a00111abe5d818ac7379854616.tar
go-tangerine-48bca30e61f869a00111abe5d818ac7379854616.tar.gz
go-tangerine-48bca30e61f869a00111abe5d818ac7379854616.tar.bz2
go-tangerine-48bca30e61f869a00111abe5d818ac7379854616.tar.lz
go-tangerine-48bca30e61f869a00111abe5d818ac7379854616.tar.xz
go-tangerine-48bca30e61f869a00111abe5d818ac7379854616.tar.zst
go-tangerine-48bca30e61f869a00111abe5d818ac7379854616.zip
Fixed minor issue with the gas pool
Diffstat (limited to 'ethchain/state_manager.go')
-rw-r--r--ethchain/state_manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index 4b1b872cc..36bb14846 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -178,7 +178,7 @@ func (sm *StateManager) ProcessBlock(state *State, parent, block *Block, dontRea
fmt.Println(block.Receipts())
coinbase := state.GetOrNewStateObject(block.Coinbase)
- coinbase.gasPool = block.CalcGasLimit(parent)
+ coinbase.SetGasPool(block.CalcGasLimit(parent))
// Process the transactions on to current block
//sm.ApplyTransactions(block.Coinbase, state, parent, block.Transactions())