Skip to content

Commit 00acbe4

Browse files
committed
fix p2.5
1 parent bfde21c commit 00acbe4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎uniswap/uniswap4.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def get_price(
156156
try:
157157
price = int(self.w3.eth.call(signed_txn))
158158
except ContractLogicError as revert:
159-
price = int(self.w3.codec.decode(["int128[]","uint160","uint32"], bytes(revert.data))[1])
159+
price = int(self.w3.codec.decode(["int128[]","uint160","uint32"], bytes(revert.data))[1]) # type: ignore
160160
return price
161161

162162
def get_slot0(

0 commit comments

Comments
 (0)