diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-05-27 16:10:52 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-05-27 16:10:52 +0800 |
commit | ab664c7e17009729d1083d8d4f7c37eb387012d3 (patch) | |
tree | 1c005bfceed6692dcb7c0c636c38e74df3d300a9 /core | |
parent | a7434fd0085f55235acea5348db0c9247e9aac10 (diff) | |
parent | 8ee84584a407464511b453eebaa31854979aa593 (diff) | |
download | dexon-ab664c7e17009729d1083d8d4f7c37eb387012d3.tar.gz dexon-ab664c7e17009729d1083d8d4f7c37eb387012d3.tar.zst dexon-ab664c7e17009729d1083d8d4f7c37eb387012d3.zip |
Merge pull request #2626 from karalabe/fix-testnet-zero-nonce
core/state: return the starting nonce for non-existent accs (testnet)
Diffstat (limited to 'core')
-rw-r--r-- | core/state/statedb.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |