diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 5b8ca370e66f..77723fd2f57f 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -2898,8 +2898,7 @@ export default class MetamaskController extends EventEmitter { ); }, isOnPhishingList: (url) => { - const { usePhishDetect } = - this.preferencesController.store.getState(); + const { usePhishDetect } = this.preferencesController.state; if (!usePhishDetect) { return false; diff --git a/test/e2e/tests/confirmations/signatures/siwe.spec.ts b/test/e2e/tests/confirmations/signatures/siwe.spec.ts index 4e90ac788a08..ab614095d793 100644 --- a/test/e2e/tests/confirmations/signatures/siwe.spec.ts +++ b/test/e2e/tests/confirmations/signatures/siwe.spec.ts @@ -31,6 +31,7 @@ import { } from './signature-helpers'; describe('Confirmation Signature - SIWE @no-mmi', function (this: Suite) { + this.timeout(200000); // This test is very long, so we need an unusually high timeout it('initiates and confirms', async function () { await withTransactionEnvelopeTypeFixtures( this.test?.fullTitle(),