diff --git a/components/instructions/programs/mangoV4.tsx b/components/instructions/programs/mangoV4.tsx index 1307077318..8fc4892f7a 100644 --- a/components/instructions/programs/mangoV4.tsx +++ b/components/instructions/programs/mangoV4.tsx @@ -821,16 +821,14 @@ const instructions = () => ({ }, {} ) - console.log(tokenToPriceImpact) + const priceImpact = tokenToPriceImpact[getApiTokenName(bank.name)] - const suggestedTier = priceImpact - ? getProposedTier( - PRESETS, - priceImpact.target_amount, - bank.oracleProvider === OracleProvider.Pyth - ) - : 'SHIT' + const suggestedTier = getProposedTier( + PRESETS, + priceImpact?.target_amount, + bank.oracleProvider === OracleProvider.Pyth + ) liqudityTier = !mint.equals(USDC_MINT) ? { diff --git a/package.json b/package.json index cfe98a0ee5..95444cdb71 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "dependencies": { "@blockworks-foundation/mango-mints-redemption": "0.0.8", "@blockworks-foundation/mango-v4": "0.19.29", - "@blockworks-foundation/mango-v4-settings": "0.2.15", + "@blockworks-foundation/mango-v4-settings": "0.2.16", "@blockworks-foundation/mangolana": "0.0.1-beta.15", "@bonfida/spl-name-service": "0.1.47", "@bundlr-network/client": "0.7.15",