-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into move-unit-tests-to-github-actions
- Loading branch information
Showing
71 changed files
with
1,508 additions
and
627 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
.yarn/patches/@metamask-eth-ledger-bridge-keyring-npm-2.0.1-7a5d815b2d.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/dist/ledger-keyring.js b/dist/ledger-keyring.js | ||
index 2386b2e7fe36d1e65ef74f0a19d3b41450dcfa48..f999a0ab465cce7a450a5812f1d7aa6e39b74aed 100644 | ||
--- a/dist/ledger-keyring.js | ||
+++ b/dist/ledger-keyring.js | ||
@@ -150,7 +150,12 @@ class LedgerKeyring extends events_1.EventEmitter { | ||
}); | ||
} | ||
catch (error) { | ||
- throw error instanceof Error ? error : new Error('Unknown error'); | ||
+ | ||
+ /** | ||
+ * For Fixing issue 22837, when ledger is locked and didnt open the ethereum app in ledger, | ||
+ * The extension will always show `unknown error`, below change will transform the error to something meaningful. | ||
+ */ | ||
+ throw error instanceof Error ? error : new Error('Unlock your Ledger device and open the ETH app'); | ||
} | ||
if (updateHdk && payload.chainCode) { | ||
this.hdk.publicKey = buffer_1.Buffer.from(payload.publicKey, 'hex'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.