Skip to content

Commit 9d11974

Browse files
nimconnimcon
andauthored
fix: add '3' as valid Uniswap version number in error message (#157)
Co-authored-by: nimcon <[email protected]>
1 parent 263619d commit 9d11974

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎uniswap/uniswap.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def __init__(
147147
self.w3, abi_name="uniswap-v3/router", address=self.router_address
148148
)
149149
else:
150-
raise Exception(f"Invalid version '{self.version}', only 1 or 2 supported")
150+
raise Exception(f"Invalid version '{self.version}', only 1, 2 or 3 supported")
151151

152152
if hasattr(self, "factory_contract"):
153153
logger.info(f"Using factory contract: {self.factory_contract}")

0 commit comments

Comments
 (0)