aboutsummaryrefslogtreecommitdiffstats
path: root/simulation
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2019-01-24 11:16:48 +0800
committerGitHub <noreply@github.com>2019-01-24 11:16:48 +0800
commit779f63a9f6fc3f4c628f0b97c822546ac51d0eb6 (patch)
treeaa25f260483e8c9430686cb10eba87d286072830 /simulation
parent0e6dc8b38f7df249831aebd4928ec42b827038e3 (diff)
downloadtangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar
tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.gz
tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.bz2
tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.lz
tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.xz
tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.tar.zst
tangerine-consensus-779f63a9f6fc3f4c628f0b97c822546ac51d0eb6.zip
core: remove Governance.NotifyRoundHeight (#431)
Diffstat (limited to 'simulation')
-rw-r--r--simulation/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation/node.go b/simulation/node.go
index 437d4b7..7c02991 100644
--- a/simulation/node.go
+++ b/simulation/node.go
@@ -226,7 +226,7 @@ func (n *node) prepareConfigs() {
prepareConfigs(i, n.cfg.Node.Changes, n.gov)
}
// This notification is implictly called in full node.
- n.gov.NotifyRoundHeight(0, 0)
+ n.gov.NotifyRound(0)
// Setup of configuration is ready, can be switched to remote mode.
n.gov.SwitchToRemoteMode(n.netModule)
}