Skip to content

bug: payment after a spark move stays pending #2021

In progress

Description

@ovitrif

A payment that first moves the balance to Spark (one swipe) can fail on its first try right after the move lands: Spark refuses the send with "Failed to select leaves after all retries". The app treats only insufficient funds and an expired invoice as nothing sent, so it shows Payment Pending, which never resolves until the invoice expires.

Funds stay in Spark and a retry works.

Expected: a leaf-selection refusal counts as nothing sent, and the send waits for the moved funds before it starts.

Found while testing #2017 on local regtest; the flow comes from #1985.

Activity

  1. added this to the 3.2.0 milestone on Nov 24, 2026
  2. self-assigned this
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions