Skip to content

Commit a18f11d

Browse files
committed
correctly using retried multicall return values
1 parent f133165 commit a18f11d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IceCreamSwapWeb3/Multicall.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ def _inner_call(
173173
state_override=state_override,
174174
block_identifier=block_identifier
175175
)
176-
except Exception as e:
176+
except Exception:
177177
if len(calls_with_calldata) == 1:
178178
try:
179-
exponential_retry(func_name="multicall")(func=self._call_multicall)(
179+
raw_returns, gas_usages = exponential_retry(func_name="multicall")(func=self._call_multicall)(
180180
multicall_call=multicall_call,
181181
use_revert=use_revert,
182182
retry=self.w3.should_retry,

0 commit comments

Comments
 (0)