aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-15 15:50:20 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:49:53 +0800
commit80ad8ac30b6ef7a7803b6466c8ad2e5853cac60d (patch)
treeeff054e778f212fa33cc634ec0f7218dba6a5d39 /dex
parentd9e305d9883b052c12fcb27be34447bbd85a934f (diff)
downloaddexon-80ad8ac30b6ef7a7803b6466c8ad2e5853cac60d.tar
dexon-80ad8ac30b6ef7a7803b6466c8ad2e5853cac60d.tar.gz
dexon-80ad8ac30b6ef7a7803b6466c8ad2e5853cac60d.tar.bz2
dexon-80ad8ac30b6ef7a7803b6466c8ad2e5853cac60d.tar.lz
dexon-80ad8ac30b6ef7a7803b6466c8ad2e5853cac60d.tar.xz
dexon-80ad8ac30b6ef7a7803b6466c8ad2e5853cac60d.tar.zst
dexon-80ad8ac30b6ef7a7803b6466c8ad2e5853cac60d.zip
dex: run consensus core on Start
Diffstat (limited to 'dex')
-rw-r--r--dex/backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dex/backend.go b/dex/backend.go
index bb524f171..c0cfe3d7f 100644
--- a/dex/backend.go
+++ b/dex/backend.go
@@ -199,6 +199,7 @@ func (s *Dexon) Start(srvr *p2p.Server) error {
s.protocolManager.Start(srvr, maxPeers)
s.protocolManager.addSelfMeta()
+ go s.consensus.Run()
return nil
}