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 21:32:50 +0800 |
commit | 17eaf4438fbc765468bc51db11cd1c4e62c16c02 (patch) | |
tree | 135738bd88ecca67fba84e9e1235a71e282bb2c9 /dex/backend.go | |
parent | 8630a5e99caa921acdfe6e884584446851bb402d (diff) | |
download | dexon-17eaf4438fbc765468bc51db11cd1c4e62c16c02.tar.gz dexon-17eaf4438fbc765468bc51db11cd1c4e62c16c02.tar.zst dexon-17eaf4438fbc765468bc51db11cd1c4e62c16c02.zip |
dex: run consensus core on Start
Diffstat (limited to 'dex/backend.go')
-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 } |