Skip to content

Commit

Permalink
Add API callback for getNetworkClientById action
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Mar 9, 2024
1 parent 4c635e2 commit b1d99d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -2963,6 +2963,9 @@ export default class MetamaskController extends EventEmitter {
this.networkController.getNetworkConfigurationByNetworkClientId.bind(
this.networkController,
),
getNetworkClientById: this.networkController.getNetworkClientById.bind(
this.networkController,
),
// PreferencesController
setSelectedAddress: (address) => {
const account = this.accountsController.getAccountByAddress(address);
Expand Down

0 comments on commit b1d99d8

Please sign in to comment.