rust-lightning icon indicating copy to clipboard operation
rust-lightning copied to clipboard

Abort sending early in BOLT12 `pay_for_offer` if we have insufficient funds

Open tnull opened this issue 1 year ago • 0 comments

We should early-abort sending in the regular BOLT12 pay_for_offer flow if we're certain we don't have sufficient liquidity (i.e. the offer amount surpasses the sum of our available next_outbound_htlc_limit_msats).

tnull avatar Jul 12 '24 15:07 tnull