Skip to content

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

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?

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions