Skip to content

Commit

Permalink
Merge pull request #510 from bancorprotocol/hot-fix-issue-509
Browse files Browse the repository at this point in the history
Fix issue 509
  • Loading branch information
zavelevsky authored Apr 1, 2024
2 parents fc43343 + 3bd8b29 commit f4806d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane_bot/helpers/poolandtokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def to_cpc(self) -> Union[ConstantProductCurve, List[Any]]:
elif self.exchange_name in self.ConfigObj.BALANCER_NAME:
out = self._balancer_to_cpc()
elif self.exchange_name in self.ConfigObj.SOLIDLY_V2_FORKS:
if self.pool_type in "volatile":
if self.pool_type == "volatile":
out = self._other_to_cpc()
else:
raise NotImplementedError(f"Stable Solidly V2 pools for exchange {self.exchange_name} not yet implemented.")
Expand Down

0 comments on commit f4806d1

Please sign in to comment.