Skip to content

Commit 6cc14da

Browse files
committed
v0.1.26 bug fix
1 parent 12279c5 commit 6cc14da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

IceCreamSwapWeb3/BatchRetryMiddleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def middleware(requests_info) -> list:
1515
# early return if batch to request is empty
1616
return []
1717

18-
if len(requests_info) > self._w3.rpc_batch_max_size:
18+
if len(requests_info) > self._w3.rpc_batch_max_size != 0:
1919
response = []
2020
for start in range(0, len(requests_info), self._w3.rpc_batch_max_size):
2121
response += middleware(requests_info[start:start + self._w3.rpc_batch_max_size])

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.1.25'
3+
VERSION = '0.1.26'
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)