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-04-09 21:32:54 +0800
commit17a688946ebf03a5d085bce9a73f8df48bff5154 (patch)
tree9c02c106d53e53f261319130750d2d80da9c3419 /dex
parent1c506268a5385adce7885b7e950707bf9ffd5084 (diff)
downloaddexon-17a688946ebf03a5d085bce9a73f8df48bff5154.tar.gz
dexon-17a688946ebf03a5d085bce9a73f8df48bff5154.tar.zst
dexon-17a688946ebf03a5d085bce9a73f8df48bff5154.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
}