There was an error while loading. Please reload this page.
1 parent 4dae5b2 commit 23a0fc6Copy full SHA for 23a0fc6
1 file changed
src/ape_node/provider.py
@@ -698,9 +698,7 @@ def _send_transaction_with_retries(
698
if txn.gas_limit > block_gas_limit:
699
txn.gas_limit = block_gas_limit
700
elif txn.gas_limit == block_gas_limit:
701
- limit = txn.gas_limit or 0
702
- txn.gas_limit = limit + 1
703
-
+ txn.gas_limit -= 1
704
else:
705
# Raise whatever error it is. I am not sure how this is possible!
706
raise
0 commit comments