Merge pull request #2870 from halseth/stop-chansubswapper

[trivial] server: stop chansubswapper on shutdown instead of start
This commit is contained in:
Johan T. Halseth 2019-04-02 10:58:10 +02:00 committed by GitHub
commit 38e4f03cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1240,7 +1240,7 @@ func (s *server) Stop() error {
s.cc.feeEstimator.Stop() s.cc.feeEstimator.Stop()
s.invoices.Stop() s.invoices.Stop()
s.fundingMgr.Stop() s.fundingMgr.Stop()
s.chanSubSwapper.Start() s.chanSubSwapper.Stop()
// Disconnect from each active peers to ensure that // Disconnect from each active peers to ensure that
// peerTerminationWatchers signal completion to each peer. // peerTerminationWatchers signal completion to each peer.