mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-06 19:03:35 +01:00
Merge pull request #1442 from Roasbeef/async-link-stop
htlcswitch: in removeLink use new goroutine to stop existing link
This commit is contained in:
@@ -1883,7 +1883,7 @@ func (s *Switch) removeLink(chanID lnwire.ChannelID) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
link.Stop()
|
go link.Stop()
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user