Skip to content

Commit 23a0fc6

Browse files
committed
test: flakiness pt 3
1 parent 4dae5b2 commit 23a0fc6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/ape_node/provider.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,7 @@ def _send_transaction_with_retries(
698698
if txn.gas_limit > block_gas_limit:
699699
txn.gas_limit = block_gas_limit
700700
elif txn.gas_limit == block_gas_limit:
701-
limit = txn.gas_limit or 0
702-
txn.gas_limit = limit + 1
703-
701+
txn.gas_limit -= 1
704702
else:
705703
# Raise whatever error it is. I am not sure how this is possible!
706704
raise

0 commit comments

Comments
 (0)