mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-22 14:51:45 +02:00
server: stop interceptable switch in Stop
This commit is contained in:
parent
0bd76ffe32
commit
f1015cd58d
@ -2411,6 +2411,10 @@ func (s *server) Stop() error {
|
|||||||
if err := s.invoices.Stop(); err != nil {
|
if err := s.invoices.Stop(); err != nil {
|
||||||
srvrLog.Warnf("failed to stop invoices: %v", err)
|
srvrLog.Warnf("failed to stop invoices: %v", err)
|
||||||
}
|
}
|
||||||
|
if err := s.interceptableSwitch.Stop(); err != nil {
|
||||||
|
srvrLog.Warnf("failed to stop interceptable "+
|
||||||
|
"switch: %v", err)
|
||||||
|
}
|
||||||
if err := s.invoiceHtlcModifier.Stop(); err != nil {
|
if err := s.invoiceHtlcModifier.Stop(); err != nil {
|
||||||
srvrLog.Warnf("failed to stop htlc invoices "+
|
srvrLog.Warnf("failed to stop htlc invoices "+
|
||||||
"modifier: %v", err)
|
"modifier: %v", err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user