1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +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), setupSnapProvider: this.setupSnapProvider.bind(this),
}; };
this.snapExecutionService =
this.opts.overrides?.createSnapExecutionService?.( this.snapExecutionService = new IframeExecutionService(
snapExecutionServiceArgs, snapExecutionServiceArgs,
) || new IframeExecutionService(snapExecutionServiceArgs); );
const snapControllerMessenger = this.controllerMessenger.getRestricted({ const snapControllerMessenger = this.controllerMessenger.getRestricted({
name: 'SnapController', name: 'SnapController',