Skip to content

Commit

Permalink
Remove Snaps execution environment override
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Jul 25, 2023
1 parent fdc3558 commit 80e4fb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -945,10 +945,10 @@ export default class MetamaskController extends EventEmitter {
}),
setupSnapProvider: this.setupSnapProvider.bind(this),
};
this.snapExecutionService =
this.opts.overrides?.createSnapExecutionService?.(
snapExecutionServiceArgs,
) || new IframeExecutionService(snapExecutionServiceArgs);

this.snapExecutionService = new IframeExecutionService(
snapExecutionServiceArgs,
);

const snapControllerMessenger = this.controllerMessenger.getRestricted({
name: 'SnapController',
Expand Down

0 comments on commit 80e4fb2

Please sign in to comment.