server: stop chansubswapper on shutdown instead of start
This commit is contained in:
parent
893cff60c4
commit
96f4cd1df9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user