From 96f4cd1df916270f70b949ad8b79a5f1ca9d63cc Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Tue, 2 Apr 2019 09:58:13 +0200 Subject: [PATCH] server: stop chansubswapper on shutdown instead of start --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 3bcc2e33..56615d81 100644 --- a/server.go +++ b/server.go @@ -1240,7 +1240,7 @@ func (s *server) Stop() error { s.cc.feeEstimator.Stop() s.invoices.Stop() s.fundingMgr.Stop() - s.chanSubSwapper.Start() + s.chanSubSwapper.Stop() // Disconnect from each active peers to ensure that // peerTerminationWatchers signal completion to each peer.