1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-19 01:43:22 +01:00
eclair/eclair-core
Pierre-Marie Padiou f4efd64ae5
Don't relay buggy extra payments (#2937)
If a payer is buggy and tries to pay the same invoice multiple times, it can lead to an edge case where the recipient accepted the first one and purchased liquidity for it, but didn't purchase additional liquidity and thus cannot receive the duplicate payments.

Also, when replaying parts that were waiting for an on-the-fly funding, we set `commit = false` to all parts, instead of just the last one. This optimization caused the payment to be stuck if the last part was unexpectedly rejected (which would for example happen in the buggy payer case described above, before we rejected those extra payments).

---------

Co-authored-by: t-bast <bastien@acinq.fr>
2024-11-08 14:04:49 +01:00
..
src Don't relay buggy extra payments (#2937) 2024-11-08 14:04:49 +01:00
eclair-cli Automatically disable from_future_htlc when abused (#2928) 2024-10-15 11:18:33 +02:00
pom.xml Update Bitcoin Core to v27.1 (#2862) 2024-06-18 14:41:37 +02:00