Skip to content

Commit b8d20f8

Browse files
Update packages/snaps-controllers/src/snaps/SnapController.ts
Co-authored-by: Frederik Bolding <[email protected]>
1 parent 3308e6b commit b8d20f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/snaps-controllers/src/snaps/SnapController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ export class SnapController extends BaseController<
12881288
* installed Snaps.
12891289
*/
12901290
init() {
1291-
const snaps = this.getAllSnaps();
1291+
const snaps = this.getRunnableSnaps();
12921292
for (const { id } of snaps) {
12931293
const hasLifecycleHooksEndowment = this.messagingSystem.call(
12941294
'PermissionController:hasPermission',

0 commit comments

Comments
 (0)