Copy coinbase pointer

This commit is contained in:
Gustav Simonsson 2015-09-01 19:28:51 +02:00
parent 60b05b8780
commit ec8ece28f4

View file

@ -361,7 +361,7 @@ func (self *StateDB) SyncIntermediate(coinbase *StateObject) {
self.DeleteStateObject(stateObject) self.DeleteStateObject(stateObject)
// Resurrect the coinbase and restore the gas allowance // Resurrect the coinbase and restore the gas allowance
*coinbase = *self.CreateAccount(address) coinbase = self.CreateAccount(address)
coinbase.SetGasLimit(gas) coinbase.SetGasLimit(gas)
} else { } else {
self.DeleteStateObject(stateObject) self.DeleteStateObject(stateObject)