-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Ledger message signing on built-in non-ETH/MATIC networks
Ledger was checking specifically for those two networks from a constant that was never updated. We switch instead to check whether the network in question shares a derivation path with the one used by the Eth app (aka the Ethereum derivation path). Custom networks added by users currently don't set a derivation path, so they will still fail this test (as well as the guards on signing messages and typed messages, which are already using derivation paths).
- Loading branch information
1 parent
cfb9d1e
commit 759a231
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
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