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

core/state: return the starting nonce for non-existent accs (testnet)
This commit is contained in:
Péter Szilágyi 2016-05-27 11:10:52 +03:00
commit ab664c7e17
1 changed files with 1 additions and 1 deletions

View File

@ -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 {