Skip to content

Commit

Permalink
Merge pull request #31 from felipemadero/improve-apdu-wrapper-err-msg
Browse files Browse the repository at this point in the history
improve generic apdu error code message to better point users to ledger issues
  • Loading branch information
jleni authored Sep 1, 2024
2 parents 2905003 + f8bf50a commit d2826f6
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 d2826f6

Please sign in to comment.