aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-12-18 13:47:08 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit812fd1e8f79e2265a346a15fcad248a318a02adb (patch)
tree920b8b2e65d351180b994d8d99813e12566d7de3 /dex
parent9b24bf9dc17fa8d1fcf658cd2d7a7b4754e65233 (diff)
downloaddexon-812fd1e8f79e2265a346a15fcad248a318a02adb.tar.gz
dexon-812fd1e8f79e2265a346a15fcad248a318a02adb.tar.zst
dexon-812fd1e8f79e2265a346a15fcad248a318a02adb.zip
dex: stop consensus core (#93)
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 2c87425de..5eb9a85fc 100644
--- a/dex/backend.go
+++ b/dex/backend.go
@@ -240,6 +240,7 @@ func (s *Dexon) Start(srvr *p2p.Server) error {
}
func (s *Dexon) Stop() error {
+ s.consensus.Stop()
s.app.Stop()
return nil
}