Skip to content

Commit

Permalink
Cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
barak manos committed May 25, 2024
1 parent 2f05b81 commit 72d03c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fastlane_bot/helpers/poolandtokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,10 @@ def _carbon_to_cpc_dict(self) -> Tuple[Dict, bool]:
# modify the y_int based on the new geomean to the limit of y
for typed_args in strategy_typed_args:
yint = encodeOrder({
'liquidity': typed_args["y"],
'lowestRate': typed_args["pb"],
'highestRate': typed_args["pa"],
'marginalRate': pm,
"liquidity": typed_args["y"],
"lowestRate": typed_args["pb"],
"highestRate": typed_args["pa"],
"marginalRate": pm,
})["z"]
if typed_args["yint"] < yint:
typed_args["yint"] = yint
Expand Down

0 comments on commit 72d03c2

Please sign in to comment.