1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00

Remove Snaps execution environment override (#20173)

This commit is contained in:
Maarten Zuidhoorn 2023-07-25 11:57:59 +02:00 committed by Dan J Miller
parent 388e19495c
commit 8e24c2130c

View File

@ -923,10 +923,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',