-
Notifications
You must be signed in to change notification settings - Fork 418
Description
Hey,
I've been testing the quick close mechanism with the latest LDK, and there's one (small) incompatibility between eclair and rust-lightning. It's exactly similar to ElementsProject/lightning#4599 (comment). When rust-lightning doesn't care about the upper bound it sets max_fee_satoshis = 0xffffffffffffffff
.
This is rejected by eclair, because we're strict on what values a satoshi
field can hold. 0xffffffffffffffff
is bigger than 21 million BTC so we consider it an invalid value. We could relax this but I'd like to avoid it if possible. That happens when rust-lightning is simply accepting a value inside eclair's proposed fee range, so I don't think it's necessary to set this to 0xffffffffffffffff
, you could just return the same max_fee_satoshis
you received.
WDYT?