diff options
author | obscuren <geffobscura@gmail.com> | 2015-06-10 00:14:46 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-10 03:01:02 +0800 |
commit | bc6031e7bb453ec7e1f229b39e11967a8b32175a (patch) | |
tree | b5699e36abcd7bbe32e65e95eb335d677b837740 /core/state | |
parent | 93f48528441b99f2c0a89326eb60a3e1ae6f92bc (diff) | |
download | dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.gz dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.bz2 dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.lz dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.xz dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.tar.zst dexon-bc6031e7bb453ec7e1f229b39e11967a8b32175a.zip |
core, xeth: moved nonce management burden from xeth to txpool
Diffstat (limited to 'core/state')
-rw-r--r-- | core/state/managed_state.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state/managed_state.go b/core/state/managed_state.go index 5114f7a7a..aa6650d9b 100644 --- a/core/state/managed_state.go +++ b/core/state/managed_state.go @@ -23,7 +23,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[string]*account), } } |