Skip to content

Index trampoline payments by hash and secret#1770

Merged
t-bast merged 1 commit intomasterfrom
node-relayer-payment-secret
May 4, 2021
Merged

Index trampoline payments by hash and secret#1770
t-bast merged 1 commit intomasterfrom
node-relayer-payment-secret

Conversation

@t-bast
Copy link
Copy Markdown
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