We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c291ea commit b74e2c3Copy full SHA for b74e2c3
1 file changed
packages/keyring-controller/src/KeyringController.ts
@@ -1961,8 +1961,9 @@ export class KeyringController<
1961
1962
// As usual, we want to prevent returning direct references to keyring instances, so we check
1963
// the result for any unsafe direct access before returning.
1964
- for (const { keyring } of this.#keyrings) {
+ for (const { keyring, keyringV2 } of this.#keyrings) {
1965
this.#assertNoUnsafeDirectKeyringAccess(result, keyring);
1966
+ this.#assertNoUnsafeDirectKeyringAccess(result, keyringV2);
1967
}
1968
1969
return result;
0 commit comments