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 committed Jun 11, 2024
1 parent 4e03732 commit 6644924
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 6644924

Please sign in to comment.