Zondax / ledger-filecoin

Filecoin app for Ledger Nano S and X
Apache License 2.0
26 stars 17 forks source link

Rejecting transaction prints non describing error #108

Closed rjan90 closed 2 years ago

rjan90 commented 2 years ago

Hey! When one attempts to sign a transaction, but decides to reject the message it prints out a not so UX-friendly message. Would it be possible to change the error message to something more describing?

Repo steps:

  1. ./lotus send --from=f1Ledger-account f1otherAccount 0.01
  2. Reject the message:

Output: ERROR: failed to sign message: [APDU_CODE_COMMAND_NOT_ALLOWED] Command not allowed (no current EF)

rjan90 commented 2 years ago

This should be handled on the Lotus-side. Closing ticket.