Skip to content

Commit

Permalink
added ts expect error to gas fee network controller initialisation on…
Browse files Browse the repository at this point in the history
… network state change , it needs network controller to be updated but it is not a blocker for this update
  • Loading branch information
tommasini committed Mar 5, 2024
1 parent 2f30ead commit d75a87d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/core/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,8 @@ class Engine {
onNetworkStateChange: (listener) =>
this.controllerMessenger.subscribe(
AppConstants.NETWORK_STATE_CHANGE_EVENT,
// @ts-expect-error network controller will be updated on this PR: https://github.com/MetaMask/metamask-mobile/pull/8812 and this type error will be addressed
// This is not a blocker because gas fee controller does not need ticker to be defined
listener,
),
getCurrentNetworkEIP1559Compatibility: async () =>
Expand Down

0 comments on commit d75a87d

Please sign in to comment.