mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-12 01:54:24 +01:00
This allows a caller to ensure to optimistically shut down the link if the channel is clean. If the channel is not clean, an error is returned and the link continues functioning as normal. The caller should also call RemoveLink to ensure that the link isn't seen as usable within the switch.