You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: cover node-only channel moves never falling back to spark #2230
payInvoiceOverLdk in LightningRepo promises never to fall back to Spark, which moving a channel balance needs, and MoveToSparkRepo relies on that. Its only test, a move to spark is recorded under its payment hash so it can be trimmed once paid, covers the success path. If a later change routed this entry through payInvoiceChecked, a channel-to-Spark move could be paid from Spark itself and no test would catch it.
The removed test a node-only payment fails instead of falling back to spark (deleted with payInvoiceWithNode in #2229) can move over to payInvoiceOverLdk("bolt11", paymentHash = "h", sats = 1_000uL, maxTotalRoutingFeeMsat = null) with its stubs unchanged.
Activity