aboutsummaryrefslogtreecommitdiffstats
path: root/core/state
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-21 17:27:12 +0800
committerobscuren <geffobscura@gmail.com>2015-04-21 17:27:12 +0800
commit093d6d507465263fb9721aa0758b12a31b126c0b (patch)
tree8fcad14601691477757b6fd69611c54214817229 /core/state
parent1d6d42919e3bd3e24cd9ff2f1534efb41cb5a216 (diff)
downloaddexon-093d6d507465263fb9721aa0758b12a31b126c0b.tar
dexon-093d6d507465263fb9721aa0758b12a31b126c0b.tar.gz
dexon-093d6d507465263fb9721aa0758b12a31b126c0b.tar.bz2
dexon-093d6d507465263fb9721aa0758b12a31b126c0b.tar.lz
dexon-093d6d507465263fb9721aa0758b12a31b126c0b.tar.xz
dexon-093d6d507465263fb9721aa0758b12a31b126c0b.tar.zst
dexon-093d6d507465263fb9721aa0758b12a31b126c0b.zip
core: removed nonce resetting from the block processor.
All nonce error handling has been moved to the worker
Diffstat (limited to 'core/state')
-rw-r--r--core/state/managed_state.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/state/managed_state.go b/core/state/managed_state.go
index 9e6be9980..5114f7a7a 100644
--- a/core/state/managed_state.go
+++ b/core/state/managed_state.go
@@ -62,6 +62,7 @@ func (ms *ManagedState) NewNonce(addr common.Address) uint64 {
}
}
account.nonces = append(account.nonces, true)
+
return uint64(len(account.nonces)-1) + account.nstart
}