mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
core/state: Copy state in ManageState again
This commit is contained in:
parent
4849f58a7a
commit
e376b473fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue