Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tapchannel: compare asset id of htlc records with quote
In this commit we use the previously defined helper to fetch the asset ID of the accepted quote, then we compare it with the asset ID of each HTLC. This is done as an extra strict check to guard against HTLC and RFQ asset ID mismatch, which can lead to malicious behavior where a quote for a different asset is being accounted for when accepting an asset HTLC.
- Loading branch information