Skip to content

Commit

Permalink
[release/1.4.6] core/state: return the starting nonce for non-existen…
Browse files Browse the repository at this point in the history
…t accs (testnet)

(cherry picked from commit 8ee8458)
  • Loading branch information
karalabe committed Jun 6, 2016
1 parent 9ccb70d commit 7632acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7632acf

Please sign in to comment.