diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-17 20:14:41 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:58 +0800 |
commit | 1dd5b9705268cc22bf70ba16a8becb02b4148e86 (patch) | |
tree | 3d2fd881ee37d6bbed2bf11267c61a9c44b1dd5d /dex/handler.go | |
parent | b6fdd2f5fa7c09fc7af0dfef15300161e5dedc1e (diff) | |
download | dexon-1dd5b9705268cc22bf70ba16a8becb02b4148e86.tar dexon-1dd5b9705268cc22bf70ba16a8becb02b4148e86.tar.gz dexon-1dd5b9705268cc22bf70ba16a8becb02b4148e86.tar.bz2 dexon-1dd5b9705268cc22bf70ba16a8becb02b4148e86.tar.lz dexon-1dd5b9705268cc22bf70ba16a8becb02b4148e86.tar.xz dexon-1dd5b9705268cc22bf70ba16a8becb02b4148e86.tar.zst dexon-1dd5b9705268cc22bf70ba16a8becb02b4148e86.zip |
dex: properly shutdown protocol stack (#267)
Diffstat (limited to 'dex/handler.go')
-rw-r--r-- | dex/handler.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dex/handler.go b/dex/handler.go index 91d7360b2..e887d54d9 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -305,7 +305,7 @@ func (pm *ProtocolManager) Start(srvr p2pServer, maxPeers int) { } func (pm *ProtocolManager) Stop() { - log.Info("Stopping Ethereum protocol") + log.Info("Stopping DEXON protocol") pm.txsSub.Unsubscribe() // quits txBroadcastLoop pm.chainHeadSub.Unsubscribe() @@ -330,7 +330,7 @@ func (pm *ProtocolManager) Stop() { // Wait for all peer handler goroutines and the loops to come down. pm.wg.Wait() - log.Info("Ethereum protocol stopped") + log.Info("DEXON protocol stopped") } func (pm *ProtocolManager) ReceiveChan() <-chan interface{} { |