From 093d6d507465263fb9721aa0758b12a31b126c0b Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 21 Apr 2015 11:27:12 +0200 Subject: core: removed nonce resetting from the block processor. All nonce error handling has been moved to the worker --- core/state/managed_state.go | 1 + 1 file changed, 1 insertion(+) (limited to 'core/state') 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 } -- cgit v1.2.3