diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-12-04 09:52:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-04 09:52:11 +0800 |
commit | 041eb53f043e6a4a7a9acab1ce46ecfd268fed57 (patch) | |
tree | 90ed112f4dbdab02f7a0542c8db40e9060b5ef32 /simulation | |
parent | 2e119344b3ecddd2cf07094c89249ab631901c4f (diff) | |
download | tangerine-consensus-041eb53f043e6a4a7a9acab1ce46ecfd268fed57.tar tangerine-consensus-041eb53f043e6a4a7a9acab1ce46ecfd268fed57.tar.gz tangerine-consensus-041eb53f043e6a4a7a9acab1ce46ecfd268fed57.tar.bz2 tangerine-consensus-041eb53f043e6a4a7a9acab1ce46ecfd268fed57.tar.lz tangerine-consensus-041eb53f043e6a4a7a9acab1ce46ecfd268fed57.tar.xz tangerine-consensus-041eb53f043e6a4a7a9acab1ce46ecfd268fed57.tar.zst tangerine-consensus-041eb53f043e6a4a7a9acab1ce46ecfd268fed57.zip |
core: construct consensus from syncer (#352)
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 cea0035..806a2be 100644 --- a/simulation/node.go +++ b/simulation/node.go @@ -153,7 +153,7 @@ func (n *node) run( n.netModule, n.prvKey, logger) - go n.consensus.Run(&types.Block{}) + go n.consensus.Run() // Blocks forever. MainLoop: |