Skip to content

Commit

Permalink
Update app/scripts/metamask-controller.js
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
  • Loading branch information
danjm and Gudahtt committed Oct 18, 2024
1 parent b2e78ad commit dbd02ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ import {
providerErrors,
} from '@metamask/rpc-errors';

import { isProduction } from '../../shared/modules/environment';

import { Mutex } from 'await-semaphore';
import log from 'loglevel';
import {
Expand Down Expand Up @@ -158,6 +156,7 @@ import {
NotificationServicesPushController,
NotificationServicesController,
} from '@metamask/notification-services-controller';
import { isProduction } from '../../shared/modules/environment';
import { methodsRequiringNetworkSwitch } from '../../shared/constants/methods-tags';

///: BEGIN:ONLY_INCLUDE_IF(build-mmi)
Expand Down Expand Up @@ -1563,7 +1562,7 @@ export default class MetamaskController extends EventEmitter {
},
},
env: {
isAccountSyncingEnabled: !isProduction() && isManifestV3,,
isAccountSyncingEnabled: !isProduction() && isManifestV3,
},
messenger: this.controllerMessenger.getRestricted({
name: 'UserStorageController',
Expand Down

0 comments on commit dbd02ca

Please sign in to comment.