bark: validate HTLC VTXO backing tree before disclosing preimage

We reuse validate_vtxo_tree_params to validate the tree backing an HTLC VTXO in lightning receive before claiming with preimage.

This is only exploitable by the server and not by a third party.

Merge request reports

Loading
Loading