From 3bd8b2946f618dd9a26a680501324026ed4a7d54 Mon Sep 17 00:00:00 2001 From: barak manos <> Date: Thu, 28 Mar 2024 21:24:21 +0200 Subject: [PATCH] Fix issue 509 --- fastlane_bot/helpers/poolandtokens.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane_bot/helpers/poolandtokens.py b/fastlane_bot/helpers/poolandtokens.py index 1a61604bb..b6244b322 100644 --- a/fastlane_bot/helpers/poolandtokens.py +++ b/fastlane_bot/helpers/poolandtokens.py @@ -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.")