Skip to content

Commit

Permalink
fix(transaction-controller): Return global ethQuery when `!isMulticha…
Browse files Browse the repository at this point in the history
…inEnabled` (#4390)
  • Loading branch information
legobeat authored Jun 10, 2024
1 parent e361db6 commit 316035e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ export class MultichainTrackingHelper {
networkClientId?: NetworkClientId;
chainId?: Hex;
} = {}): EthQuery {
if (!this.#isMultichainEnabled) {
return new EthQuery(this.getProvider());
}
return new EthQuery(this.getProvider({ networkClientId, chainId }));
}

Expand Down

0 comments on commit 316035e

Please sign in to comment.