core/state: Copy state in ManageState again

This commit is contained in:
Nick Johnson 2016-10-04 12:50:01 +01:00
parent 4849f58a7a
commit e376b473fd

View file

@ -39,7 +39,7 @@ type ManagedState struct {
// ManagedState returns a new managed state with the statedb as it's backing layer
func ManageState(statedb *StateDB) *ManagedState {
return &ManagedState{
StateDB: statedb,
StateDB: statedb.Copy(),
accounts: make(map[common.Address]*account),
}
}