Commit 8ee84584 authored by Péter Szilágyi's avatar Péter Szilágyi

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

parent a7434fd0
...@@ -127,7 +127,7 @@ func (self *StateDB) GetNonce(addr common.Address) uint64 { ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment