mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove Snaps execution environment override (#20173)
This commit is contained in:
parent
388e19495c
commit
8e24c2130c
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user