You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue
The variables DEFAULT_MIN_PROFIT_BNT and DEFAULT_MIN_PROFIT both refer to the same value. Having these as separate variables could lead to confusion and potential bugs in the code.
Proposed Solution
We should consolidate these two variables into one, using the name DEFAULT_MIN_PROFIT_BNT for clarity that it is denominated in BNT units, and to maintain consistency across the codebase.
Steps
Remove all instances of DEFAULT_MIN_PROFIT.
Replace these instances with DEFAULT_MIN_PROFIT_BNT.
Ensure that all tests still pass after this change.
Additional context
This change will improve code readability and maintenance.
The text was updated successfully, but these errors were encountered:
Issue
The variables
DEFAULT_MIN_PROFIT_BNT
andDEFAULT_MIN_PROFIT
both refer to the same value. Having these as separate variables could lead to confusion and potential bugs in the code.Proposed Solution
We should consolidate these two variables into one, using the name
DEFAULT_MIN_PROFIT_BNT
for clarity that it is denominated in BNT units, and to maintain consistency across the codebase.Steps
DEFAULT_MIN_PROFIT
.DEFAULT_MIN_PROFIT_BNT
.Additional context
This change will improve code readability and maintenance.
The text was updated successfully, but these errors were encountered: