core/state: return the starting nonce for non-existent accs (testnet)

pull/2626/head
Péter Szilágyi 9 years ago
parent a7434fd008
commit 8ee84584a4
  1. 2
      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 {

Loading…
Cancel
Save