diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-11-14 11:18:12 +0800 |
---|---|---|
committer | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-14 11:18:12 +0800 |
commit | c3f1403eb4c3125ba08b28a40f77c299606529f9 (patch) | |
tree | b148d8cfe4c34ec4642a2a9038cd9af23ab91f59 | |
parent | 8235b63d44026fb224813b17e132db20412cb2a1 (diff) | |
download | tangerine-consensus-c3f1403eb4c3125ba08b28a40f77c299606529f9.tar.gz tangerine-consensus-c3f1403eb4c3125ba08b28a40f77c299606529f9.tar.zst tangerine-consensus-c3f1403eb4c3125ba08b28a40f77c299606529f9.zip |
simulation: Fix simulation failure (#324)
-rw-r--r-- | simulation/node.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/simulation/node.go b/simulation/node.go index 8c398cf..ef54ffc 100644 --- a/simulation/node.go +++ b/simulation/node.go @@ -139,6 +139,8 @@ func (n *node) run(serverEndpoint interface{}, dMoment time.Time) { n.gov.State().RequestChange(test.StateAddNode, pubKey) hashes = append(hashes, nID.Hash) } + // This notification is implictly called in full node. + n.gov.NotifyRoundHeight(0, 0) // Setup of governance is ready, can be switched to remote mode. n.gov.SwitchToRemoteMode(n.netModule) // Setup Consensus. |