Issue: Hardcoded Values and Dead Code Smells in checkBuyableRc
, checkSellableRc
, and getCoinBudgets
#132
Labels
good first issue
Good for newcomers
The functions
checkBuyableRc
andcheckSellableRc
currently return hardcoded values that automatically approve transactions, which should not be the case. Additionally, thegetCoinBudgets
function is returning hardcodednull
values. These hardcoded values need to be either removed or commented out to ensure the correct logic is implemented.Furthermore, these hardcoded values introduce dead code smells, as they do not contribute meaningfully to the program's functionality. Keeping such code can increase complexity and reduce maintainability. Removing or refactoring these sections will improve code quality and readability.
The text was updated successfully, but these errors were encountered: