Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index trampoline payments by hash and secret #1770

Merged
merged 1 commit into from
May 4, 2021

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Apr 15, 2021

We need to group incoming HTLCs together by payment_hash and payment_secret, otherwise we will reject valid payments that are split into multiple distinct trampoline parts (same payment_hash but different payment_secret).

Thanks @ecdsa for pointing out this issue.

Fixes #1723

We need to group incoming HTLCs together by payment_hash and payment_secret,
otherwise we will reject valid payments that are split into multiple distinct
trampoline parts (same payment_hash but different payment_secret).

Fixes #1723
@t-bast t-bast requested a review from pm47 April 21, 2021 07:11
@t-bast t-bast merged commit 90fbcd3 into master May 4, 2021
@t-bast t-bast deleted the node-relayer-payment-secret branch May 4, 2021 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NodeRelayer should index payments by payment_hash || payment_secret
2 participants