Fixed minor issue with the gas pool

This commit is contained in:
obscuren
2014-06-16 11:51:16 +02:00
parent 9f62d441a7
commit 48bca30e61
4 changed files with 13 additions and 9 deletions

View File

@ -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())