Skip to content

Commit c651ca3

Browse files
committed
Add missing hooks
1 parent dfdcb97 commit c651ca3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/scripts/metamask-controller.js

+8
Original file line numberDiff line numberDiff line change
@@ -6320,6 +6320,14 @@ export default class MetamaskController extends EventEmitter {
63206320
'CronjobController:getBackgroundEvents',
63216321
origin,
63226322
),
6323+
getNetworkConfigurationByChainId: this.controllerMessenger.call.bind(
6324+
this.controllerMessenger,
6325+
'NetworkController:getNetworkConfigurationByChainId',
6326+
),
6327+
getNetworkClientById: this.controllerMessenger.call.bind(
6328+
this.controllerMessenger,
6329+
'NetworkController:getNetworkClientById',
6330+
),
63236331
///: BEGIN:ONLY_INCLUDE_IF(keyring-snaps)
63246332
handleSnapRpcRequest: (args) =>
63256333
this.handleSnapRequest({ ...args, origin }),

0 commit comments

Comments
 (0)