core, xeth: moved nonce management burden from xeth to txpool

This commit is contained in:
obscuren
2015-06-09 18:14:46 +02:00
parent 93f4852844
commit bc6031e7bb
4 changed files with 44 additions and 23 deletions

View File

@ -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),
}
}