提交 ab664c7e 编写于 作者: P Péter Szilágyi

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

core/state: return the starting nonce for non-existent accs (testnet)
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册