mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-17 13:36:37 +00:00
[release/1.4.6] core/state: return the starting nonce for non-existent accs (testnet)
(cherry picked from commit 8ee84584a4)
This commit is contained in:
parent
9ccb70da7b
commit
7632acf6b4
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ func (self *StateDB) GetNonce(addr common.Address) uint64 {
|
||||||
return stateObject.nonce
|
return stateObject.nonce
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0
|
return StartingNonce
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *StateDB) GetCode(addr common.Address) []byte {
|
func (self *StateDB) GetCode(addr common.Address) []byte {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue