Skip to content

Commit

Permalink
dont try to batch swap for ust boosted
Browse files Browse the repository at this point in the history
danielmkm committed May 11, 2022
1 parent 04ec604 commit 91badb9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -707,7 +707,13 @@ export default function useWithdrawMath(
propBptIn.value = bptBalance.value;

if (shouldFetchBatchSwap.value) {
batchSwap.value = await getBatchSwap();
if (
pool.value.id !==
'0x6da14f5acd58dd5c8e486cfa1dc1c550f5c61c1c0000000000000000000003cf'
) {
batchSwap.value = await getBatchSwap();
}

if (shouldUseBatchRelayer.value) {
await balancer.swaps.fetchPools();
batchRelayerSwap.value = await getBatchRelayerSwap();

0 comments on commit 91badb9

Please sign in to comment.