Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Incomplete removal: Bolivia still referenced in withdraw flow logic.
While Bolivia is commented out from
MantecaSupportedExchanges, it remains hardcoded in the Manteca country checks at lines 2584 and 2637. This creates inconsistent behavior:Apply this diff to fully disable Bolivia from Manteca routing:
const isMantecaCountry = [ 'argentina', 'chile', 'brazil', 'colombia', 'panama', 'costa-rica', 'guatemala', 'philippines', - 'bolivia', ].includes(country.path)Also apply the same change around line 2628:
const isMantecaCountry = [ 'argentina', 'chile', 'brazil', 'colombia', 'panama', 'costa-rica', 'guatemala', 'philippines', - 'bolivia', ].includes(country.path)Run the following script to verify all references to Bolivia in the codebase:
🏁 Script executed:
Length of output: 27
🏁 Script executed:
Length of output: 4220
🏁 Script executed:
Length of output: 2987
Incomplete Bolivia removal confirmed—withdraw flow still routes to Manteca.
The review comment's findings are verified. Bolivia is correctly identified as:
MantecaSupportedExchanges(line 20) ✓isMantecaCountryarrays ✓Both locations are within withdraw method routing logic that explicitly directs to
/withdraw/mantecawhenisMantecaCountryis true. This creates the inconsistency: add-money operations bypass Manteca while withdraw operations still route through it for Bolivia.The suggested diffs in the review comment are accurate and complete for resolving this inconsistency in
src/components/AddMoney/consts/index.ts.🤖 Prompt for AI Agents