mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-21 22:44:30 +01:00
We no longer track HTLC’s by their r-hash within the log into the index, as we may have multiple HTLC’s that can be redeemed by the same pre-image. Instead we now use a separate index which is keyed by a log-index. Additionally, the SettleHTLC method now also returns the index of the HTLC being settled which allows the remote party to quickly locate the HTLC within their log. This commit also introduces a few trace/debug log messages which will likely be pruned in the near future