mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-01-18 05:44:22 +01:00
Adds a new closure OnChannelFailure to the link config, which is called when the link fails. This function closure should use the given LinkFailureError to properly force close the channel, send an error to the peer, and disconnect the peer.