mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
Copy coinbase pointer
This commit is contained in:
parent
60b05b8780
commit
ec8ece28f4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue