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>2018-12-19 20:54:27 +0800
commite46ad7c8d025de2441bc0dda5b6e4284f7dad751 (patch)
treea45afea387f9f0bcb2e954a6043734722ad2a616 /dex
parent6dd2ae43311c369a37c5451df6aed5f6fcd20c6f (diff)
downloaddexon-e46ad7c8d025de2441bc0dda5b6e4284f7dad751.tar
dexon-e46ad7c8d025de2441bc0dda5b6e4284f7dad751.tar.gz
dexon-e46ad7c8d025de2441bc0dda5b6e4284f7dad751.tar.bz2
dexon-e46ad7c8d025de2441bc0dda5b6e4284f7dad751.tar.lz
dexon-e46ad7c8d025de2441bc0dda5b6e4284f7dad751.tar.xz
dexon-e46ad7c8d025de2441bc0dda5b6e4284f7dad751.tar.zst
dexon-e46ad7c8d025de2441bc0dda5b6e4284f7dad751.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 ca76eeed3..d0ddab523 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
}