aboutsummaryrefslogtreecommitdiffstats
path: root/dex/backend.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-12-18 13:47:08 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:19 +0800
commit0b57ef7ebd4e3ad062f5badf46306b6667164977 (patch)
tree89dbe7a33b749b0dd2217791bb6c0db30e714a3c /dex/backend.go
parent70ab62c1b72c6fef8dd2c8e405d7f9823f70f475 (diff)
downloadgo-tangerine-0b57ef7ebd4e3ad062f5badf46306b6667164977.tar
go-tangerine-0b57ef7ebd4e3ad062f5badf46306b6667164977.tar.gz
go-tangerine-0b57ef7ebd4e3ad062f5badf46306b6667164977.tar.bz2
go-tangerine-0b57ef7ebd4e3ad062f5badf46306b6667164977.tar.lz
go-tangerine-0b57ef7ebd4e3ad062f5badf46306b6667164977.tar.xz
go-tangerine-0b57ef7ebd4e3ad062f5badf46306b6667164977.tar.zst
go-tangerine-0b57ef7ebd4e3ad062f5badf46306b6667164977.zip
dex: stop consensus core (#93)
Diffstat (limited to 'dex/backend.go')
-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
}