Skip to content

bug: a hardware wallet pays a paykit request after its contact is blocked #2138

Backlog

Description

@ovitrif

A Paykit payment request paid from a hardware wallet checks its authorization once, in HwSendViewModel's authorizeBroadcast, then awaits paykitPaymentProofRepo.retainHardwareOnchainCandidate, the ServiceQueue.CORE wait and paykitPaymentProofRepo.markHardwareOnchainDispatch before the broadcast. TrezorService.broadcastRawTxAtBoundary rechecks only paymentDeadlineAt after that, so a contact blocked during those awaits is still paid.

Expected: the request's authorization is checked again after the last await before the broadcast, as #2070 does for the software wallet's on-chain and Lightning sends, and a refusal there sends nothing and releases the request.

Twin of synonymdev/bitkit-ios#1511. Raised in the self-review of #2070.

Activity

  1. added this to the 3.3.0 milestone on Nov 26, 2026
  2. added theissue type on Nov 26, 2026
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