rust-lightning
rust-lightning copied to clipboard
Abort sending early in BOLT12 `pay_for_offer` if we have insufficient funds
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).