Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vkulinich-cl committed Dec 23, 2024
1 parent 7b10f1c commit 764c211
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,12 @@ export const useProviderData = () => {
PoolType.XYK,
PoolType.LBP,
]
await poolService.syncRegistry(externalTokens[dataEnv])

const tradeRouter = new TradeRouter(poolService, {
includeOnly: traderRoutes,
})

await poolService.syncRegistry(externalTokens[dataEnv])

const [isDispatchPermitEnabled] = await Promise.all([
api.tx.multiTransactionPayment.dispatchPermit,
tradeRouter.getPools(),
Expand Down

0 comments on commit 764c211

Please sign in to comment.