Skip to content

Commit

Permalink
improve generic apdu error code message to better point users to ledger
Browse files Browse the repository at this point in the history
issues
  • Loading branch information
felipemadero committed Sep 6, 2023
1 parent 05d2788 commit f8bf50a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apduWrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func ErrorMessage(errorCode uint16) string {
case 0x6F01:
return "APDU_CODE_SIGN_VERIFY_ERROR"
default:
return fmt.Sprintf("Error code: %04x", errorCode)
return fmt.Sprintf("APDU Error Code from Ledger Device: 0x%04x", errorCode)
}
}

Expand Down

0 comments on commit f8bf50a

Please sign in to comment.