Skip to content

Commit c83f5c7

Browse files
committed
v0.2.2 Fixing wrongly negated logic for checking from_block_parent_hash
1 parent 46a14b0 commit c83f5c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IceCreamSwapWeb3/EthAdvanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def get_logs(
269269
events: list[LogReceipt]
270270
to_block_body: BlockData
271271
batch_results = batch.execute()
272-
if from_block_parent_hash is not None:
272+
if from_block_parent_hash is None:
273273
events, to_block_body = batch_results
274274
else:
275275
from_block_body: BlockData

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_packages
22

3-
VERSION = '0.2.1'
3+
VERSION = '0.2.2'
44
DESCRIPTION = 'IceCreamSwap Web3.py wrapper'
55
LONG_DESCRIPTION = 'IceCreamSwap Web3.py wrapper with automatic retries, multicall and other advanced functionality'
66

0 commit comments

Comments
 (0)