aboutsummaryrefslogtreecommitdiffstats
path: root/dex/backend.go
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-03-12 12:19:09 +0800
commite24fd2ae239abd401337ba32c57f20203119d0e9 (patch)
treeb7bd370477706ee1e76bce1de01330641f2b389d /dex/backend.go
parent0f42ef1eb32ee96d1d97d6950ddf20242e0625f4 (diff)
downloaddexon-e24fd2ae239abd401337ba32c57f20203119d0e9.tar.gz
dexon-e24fd2ae239abd401337ba32c57f20203119d0e9.tar.zst
dexon-e24fd2ae239abd401337ba32c57f20203119d0e9.zip
dex: run consensus core on Start
Diffstat (limited to 'dex/backend.go')
-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
}