Skip to content

Add a PRINTF statement or error code to every SW_INCORRECT_DATAΒ #353

@kewde

Description

@kewde

Debugging issues with PSBTs can be painful, SW_INCORRECT_DATA is essentially a blackhole that tells you nothing about what went wrong.

  • it would be greatly appreciated if debug firmware at least has a PRINTF statement prepended to indicate why it's sending this error back.
  • even better would be an error code through SEND_SW_EC - that way you don't even need debug firmware to debug any issue πŸ‘

PS: does ledger publish debug firmware for the bitcoin app?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions