diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-03-22 21:45:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-22 21:45:22 +0800 |
commit | fb9bbdf2a34aa45c0f032b996f72cafd7bccfa80 (patch) | |
tree | c19d1204850e46145bebcb22703ebb718a5f1d7b /simulation | |
parent | 0f2dd4260fd98b2be06b7f9b0197134c89f11d3c (diff) | |
download | dexon-consensus-fb9bbdf2a34aa45c0f032b996f72cafd7bccfa80.tar dexon-consensus-fb9bbdf2a34aa45c0f032b996f72cafd7bccfa80.tar.gz dexon-consensus-fb9bbdf2a34aa45c0f032b996f72cafd7bccfa80.tar.bz2 dexon-consensus-fb9bbdf2a34aa45c0f032b996f72cafd7bccfa80.tar.lz dexon-consensus-fb9bbdf2a34aa45c0f032b996f72cafd7bccfa80.tar.xz dexon-consensus-fb9bbdf2a34aa45c0f032b996f72cafd7bccfa80.tar.zst dexon-consensus-fb9bbdf2a34aa45c0f032b996f72cafd7bccfa80.zip |
core: remove initRoundBeginHeight paramenter
* Implement Governance.GetRoundHeight
in test.Governance.
Diffstat (limited to 'simulation')
-rw-r--r-- | simulation/node.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simulation/node.go b/simulation/node.go index fc5be90..b5b261c 100644 --- a/simulation/node.go +++ b/simulation/node.go @@ -222,7 +222,7 @@ func (n *node) prepareConfigs() { prepareConfigs(i, n.cfg.Node.Changes, n.gov) } // This notification is implictly called in full node. - n.gov.NotifyRound(0) + n.gov.NotifyRound(0, 0) // Setup of configuration is ready, can be switched to remote mode. n.gov.SwitchToRemoteMode(n.netModule) } |