diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-15 15:50:20 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:49:53 +0800 |
commit | 80ad8ac30b6ef7a7803b6466c8ad2e5853cac60d (patch) | |
tree | eff054e778f212fa33cc634ec0f7218dba6a5d39 /dex | |
parent | d9e305d9883b052c12fcb27be34447bbd85a934f (diff) | |
download | dexon-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.go | 1 |
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 } |