mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
[FLASK] Fix missing snap hook (#15354)
This commit is contained in:
parent
652d631cda
commit
8a550ce003
@ -3728,6 +3728,9 @@ export default class MetamaskController extends EventEmitter {
|
||||
engine.push(
|
||||
createSnapMethodMiddleware(subjectType === SUBJECT_TYPES.SNAP, {
|
||||
getAppKey: this.getAppKeyForSubject.bind(this, origin),
|
||||
getUnlockPromise: this.appStateController.getUnlockPromise.bind(
|
||||
this.appStateController,
|
||||
),
|
||||
getSnaps: this.snapController.getPermittedSnaps.bind(
|
||||
this.snapController,
|
||||
origin,
|
||||
|
Loading…
Reference in New Issue
Block a user