Skip to content

Commit

Permalink
Sign with Ledger: Better error message when app not selected (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits authored Jan 8, 2025
1 parent f16d372 commit 8f1546e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/app/(sidebar)/transaction/sign/components/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,13 @@ export const Overview = () => {
);

signature = ledgerSig ?? [];

errorMsg = error || "";

if (errorMsg.includes("0x6511")) {
errorMsg =
"Please select Stellar app on the Ledger device and try again";
}
}

if (selectedHardware === "ledger_hash") {
Expand Down

0 comments on commit 8f1546e

Please sign in to comment.