From ec8ece28f4924f7b42191046da1ace4f3f3923da Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Tue, 1 Sep 2015 19:28:51 +0200 Subject: [PATCH] Copy coinbase pointer --- core/state/statedb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state/statedb.go b/core/state/statedb.go index c14a4893da..ff2a4d6e76 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -361,7 +361,7 @@ func (self *StateDB) SyncIntermediate(coinbase *StateObject) { self.DeleteStateObject(stateObject) // Resurrect the coinbase and restore the gas allowance - *coinbase = *self.CreateAccount(address) + coinbase = self.CreateAccount(address) coinbase.SetGasLimit(gas) } else { self.DeleteStateObject(stateObject)