File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/assets-controllers/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ export class AssetsContractController {
234
234
235
235
// TODO: Expand into base-controller utility function that batch registers action handlers.
236
236
#registerActionHandlers( ) {
237
- const nonMethodClassProperties = [
237
+ const methodsExcludedFromMessenger = [
238
238
'constructor' ,
239
239
'messagingSystem' ,
240
240
'setProvider' ,
@@ -247,7 +247,7 @@ export class AssetsContractController {
247
247
( method ) => {
248
248
if (
249
249
( ( key : keyof this) : key is AssetsContractControllerMethodName =>
250
- ! nonMethodClassProperties . find ( ( e ) => e === key ) &&
250
+ ! methodsExcludedFromMessenger . find ( ( e ) => e === key ) &&
251
251
typeof this [ key ] === 'function' ) ( method )
252
252
) {
253
253
this . messagingSystem . registerActionHandler (
You can’t perform that action at this time.
0 commit comments