aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-12-18 13:47:08 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commit6bdbebae9bc31a660fd6a671f8a80117d8064cea (patch)
treee3186a6ca5aba82d53592584afa5a17776bd8e4c
parent3e733e42419338c89080657b2e290168818b311a (diff)
downloaddexon-6bdbebae9bc31a660fd6a671f8a80117d8064cea.tar.gz
dexon-6bdbebae9bc31a660fd6a671f8a80117d8064cea.tar.zst
dexon-6bdbebae9bc31a660fd6a671f8a80117d8064cea.zip
dex: stop consensus core (#93)
-rw-r--r--dex/backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dex/backend.go b/dex/backend.go
index 735cd551e..aab13d0d3 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
}