File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/snaps-controllers/src/snaps Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -815,8 +815,6 @@ function truncateSnap(snap: Snap): TruncatedSnap {
815815 return truncatedSnap as TruncatedSnap ;
816816}
817817
818- const name = 'SnapController' ;
819-
820818/*
821819 * A snap is initialized in three phases:
822820 * - Add: Loads the snap from a remote source and parses it.
@@ -825,7 +823,7 @@ const name = 'SnapController';
825823 */
826824
827825export class SnapController extends BaseController <
828- typeof name ,
826+ typeof controllerName ,
829827 SnapControllerState ,
830828 SnapControllerMessenger
831829> {
@@ -925,7 +923,7 @@ export class SnapController extends BaseController<
925923 anonymous : false ,
926924 } ,
927925 } ,
928- name,
926+ name : controllerName ,
929927 state : {
930928 ...defaultState ,
931929 ...state ,
You can’t perform that action at this time.
0 commit comments