Skip to content

Commit

Permalink
SwapError: use 0x6B00 for error status
Browse files Browse the repository at this point in the history
  • Loading branch information
sgliner-ledger committed Nov 13, 2023
1 parent c25f893 commit 1a03d51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class DeviceException(Exception): # pylint: disable=too-few-public-methods
0x6A82: NotSupportedError,
0x6A86: WrongP1P2Error,
0x6A87: WrongDataLengthError,
0x6A8E: SwapError,
0x6B00: SwapError,
0x6D00: InsNotSupportedError,
0x6E00: ClaNotSupportedError,
0xB000: WrongResponseLengthError,
Expand Down
2 changes: 1 addition & 1 deletion src/boilerplate/sw.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
/**
* Status word for fail in Swap
*/
#define SW_FAIL_SWAP 0x6A8E
#define SW_FAIL_SWAP 0x6B00

/**
* Status word for unknown command with this INS.
Expand Down

0 comments on commit 1a03d51

Please sign in to comment.