1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Remove Snaps execution environment override (#20173)

This commit is contained in:
Maarten Zuidhoorn 2023-07-25 11:57:59 +02:00 committed by GitHub
parent 83a5090c48
commit 6914baa54e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',