Files
lightning/lightningd
Rusty Russell edab0df611 lightningd: fix spurious "more than twice final" error.
Bastien TEINTURIER <bastien@acinq.fr> writes:
> It looks like the split on c-lightning side is quite limited at the moment:
> the only option is to split a payment in exactly its two halves,
> otherwise I get rejected because of the rule of overpaying more than
> twice the amount?

We only tested exactly two equal-size payments; indeed, our finalhop
test was backwards.  We only complain if the final hop pays more than
twice msat (technically, this test is still too loose for mpp: the
spec says we should sum to the exact amount).

Reported-by: @t-bast
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-12-12 15:03:53 +01:00
..
2019-12-12 15:03:53 +01:00
2017-10-20 18:31:32 +02:00
2019-12-12 15:03:53 +01:00
2019-12-12 15:03:53 +01:00
2019-12-12 15:03:53 +01:00
2019-12-03 01:16:07 +00:00
2019-12-12 15:03:53 +01:00
2019-12-12 15:03:53 +01:00
2019-12-12 15:03:53 +01:00