-
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.
Reapply patches to new accounts-controller, keyring-controller versions
- Loading branch information
Showing
5 changed files
with
34 additions
and
91 deletions.
There are no files selected for viewing
88 changes: 0 additions & 88 deletions
88
.yarn/patches/@metamask-accounts-controller-npm-10.0.0-247993ca9a.patch
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
.yarn/patches/@metamask-accounts-controller-npm-11.0.0-c67f9a2901.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,14 @@ | ||
diff --git a/dist/utils.js b/dist/utils.js | ||
index 0a77dd709e786ee586b70677fa951f34d5097e34..dbb30f1116fc7c9f174548836c2d6d4e15049253 100644 | ||
--- a/dist/utils.js | ||
+++ b/dist/utils.js | ||
@@ -39,6 +39,9 @@ function keyringTypeToName(keyringType) { | ||
case keyring_controller_1.KeyringTypes.snap: { | ||
return 'Snap Account'; | ||
} | ||
+ case keyring_controller_1.KeyringTypes.custody: { | ||
+ return 'Custody'; | ||
+ } | ||
default: { | ||
throw new Error(`Unknown keyring ${keyringType}`); | ||
} |
2 changes: 1 addition & 1 deletion
2
.yarn/patches/@metamask-keyring-controller-npm-12.2.0-2b196324d1.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
12 changes: 12 additions & 0 deletions
12
.yarn/patches/@metamask-keyring-controller-npm-13.0.0-d94816a680.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,12 @@ | ||
diff --git a/dist/KeyringController.js b/dist/KeyringController.js | ||
index fc649ea6fc97b905d811b236de638172fb10b548..a856abf0b4942585e0b9b5682b1974bff6f68b1f 100644 | ||
--- a/dist/KeyringController.js | ||
+++ b/dist/KeyringController.js | ||
@@ -945,7 +945,6 @@ class KeyringController extends base_controller_1.BaseController { | ||
throw new Error('Seed phrase imported different accounts.'); | ||
} | ||
}); | ||
- return seedWords; | ||
}); | ||
} | ||
// QR Hardware related methods |
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