Merge pull request #2626 from karalabe/fix-testnet-zero-nonce

core/state: return the starting nonce for non-existent accs (testnet)
release/1.5
Péter Szilágyi 9 years ago
commit ab664c7e17
  1. 2
      core/state/statedb.go

@ -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…
Cancel
Save