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@byzantine-lab.io>2019-06-12 17:23:39 +0800
commitd0157c4b892ee9b1da75a24d911738e50d38f0d1 (patch)
tree9304191074953322658ffff5d5c163a4f16b1251 /dex
parent41ec6da863df75ce717654d9c8639594cbdb5b4a (diff)
downloadgo-tangerine-d0157c4b892ee9b1da75a24d911738e50d38f0d1.tar
go-tangerine-d0157c4b892ee9b1da75a24d911738e50d38f0d1.tar.gz
go-tangerine-d0157c4b892ee9b1da75a24d911738e50d38f0d1.tar.bz2
go-tangerine-d0157c4b892ee9b1da75a24d911738e50d38f0d1.tar.lz
go-tangerine-d0157c4b892ee9b1da75a24d911738e50d38f0d1.tar.xz
go-tangerine-d0157c4b892ee9b1da75a24d911738e50d38f0d1.tar.zst
go-tangerine-d0157c4b892ee9b1da75a24d911738e50d38f0d1.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
}