From 8ee84584a407464511b453eebaa31854979aa593 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= <peterke@gmail.com>
Date: Fri, 27 May 2016 10:42:11 +0300
Subject: [PATCH] core/state: return the starting nonce for non-existent accs
 (testnet)

---
 core/state/statedb.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/state/statedb.go b/core/state/statedb.go
index 22ffa36a0..27bc38373 100644
--- a/core/state/statedb.go
+++ b/core/state/statedb.go
@@ -127,7 +127,7 @@ func (self *StateDB) GetNonce(addr common.Address) uint64 {
 		return stateObject.nonce
 	}
 
-	return 0
+	return StartingNonce
 }
 
 func (self *StateDB) GetCode(addr common.Address) []byte {
-- 
GitLab