diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-05-27 15:42:11 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-05-27 15:42:11 +0800 |
commit | 8ee84584a407464511b453eebaa31854979aa593 (patch) | |
tree | 1c005bfceed6692dcb7c0c636c38e74df3d300a9 /core | |
parent | a7434fd0085f55235acea5348db0c9247e9aac10 (diff) | |
download | go-tangerine-8ee84584a407464511b453eebaa31854979aa593.tar go-tangerine-8ee84584a407464511b453eebaa31854979aa593.tar.gz go-tangerine-8ee84584a407464511b453eebaa31854979aa593.tar.bz2 go-tangerine-8ee84584a407464511b453eebaa31854979aa593.tar.lz go-tangerine-8ee84584a407464511b453eebaa31854979aa593.tar.xz go-tangerine-8ee84584a407464511b453eebaa31854979aa593.tar.zst go-tangerine-8ee84584a407464511b453eebaa31854979aa593.zip |
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 { |