Skip to content

Commit

Permalink
fix(InventoryClient): Ignore mainnet in rebalance evaluation (#1506)
Browse files Browse the repository at this point in the history
The set of rebalance chainIds was incorrectly changed from
getEnabledL2Chains() to getEnabledChains() in the previous commit.
  • Loading branch information
pxrl authored May 10, 2024
1 parent 2737cd6 commit 52f2c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/InventoryClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ export class InventoryClient {
}

getPossibleRebalances(): Rebalance[] {
const chainIds = this.getEnabledChains();
const chainIds = this.getEnabledL2Chains();
const rebalancesRequired: Rebalance[] = [];

for (const l1Token of this.getL1Tokens()) {
Expand Down

0 comments on commit 52f2c35

Please sign in to comment.