Skip to content

Confirm screen never refreshes the max amount when the speed changes #1152

Open

Description

@coreyphillips

setTransactionSpeed (AppViewModel.kt:1641) refreshes fee estimates and UTXO selection but leaves state.amount at the value computed from the default-speed max, and validateAmount (:1794) only ever compares against walletRepo.balanceState.value.maxSendOnchainSats, which is derived at the default speed. This is the underlying cause of #1144 and predates the PR; fixing it at this layer (recompute the max for the selected speed and destination when the speed changes) would make the confirm-time guard largely unnecessary. Filing as follow-up rather than a change request on this diff.

Found while working on #1144.

Activity

  1. added this to the 2.6.0 milestone on Aug 19, 2026
  2. added theissue type on Aug 19, 2026
  3. modified the milestones: 2.6.0, 2.7.0 on Sep 24, 2026
  4. modified the milestones: 3.2.0, 3.3.0 on Nov 25, 2026
  5. ovitrif commented on Nov 25, 2026

    @ovitrif
    Collaborator

    Triage: moved to the 3.3.0 milestone. 3.2.0 now holds only the Spark release work and nearby payments (NFC and Bluetooth).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions