Skip to content

Conversation

@GeorgeTsagk
Copy link
Member

Description

This PR adds coverage for the scenario where an asset invoice worth less than 354 sats is paid for with sats (from a node that is not the RFQ peer).

This case triggers a specific code check in lnd where the incoming/outgoing sats produce a negative fee
(see related issue)

The current expected status of the payment is set to lnrpc.PAYMENT_FAILED as this has not yet been patched.
This itest will be updated in order to expect a lnrpc.PAYMENT_SUCCEEDED once this behavior is fixed in lnd
(see related PR for tracking)

@dstadulis
Copy link

Coverage for the current behavior.
Expected behavior will change.
Need to link to a negative fee check.

@dstadulis dstadulis changed the title itest: add <354sats payment coverage for custom channels itest: add <354 sats payment coverage for custom channels Oct 22, 2024
@guggero
Copy link
Contributor

guggero commented Oct 22, 2024

This PR should now base against the update-to-lnd-18-4 branch, there shouldn't be anything going to the 0-19-staging branch anymore, with how close we are to merging the "real" branch.

@dstadulis dstadulis assigned guggero and unassigned GeorgeTsagk Oct 29, 2024
@guggero
Copy link
Contributor

guggero commented Oct 30, 2024

Cherry picked commit 9c10445 onto #848.

@guggero guggero closed this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants