Skip to content

Commit

Permalink
Log about inter node delay
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Jul 25, 2024
1 parent 925c739 commit 431e344
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eth_defi/confirmation.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,10 @@ def wait_and_broadcast_multiple_nodes(

if len(txs) >= 2:
# https://github.com/ethereum/go-ethereum/issues/26890
logger.info(
"Broadcasting multiple transactions, using inter node delay %s to sleep to ensure poor-quality nodes like Alchemy work",
inter_node_delay
)
time.sleep(inter_node_delay.total_seconds())

while len(unconfirmed_txs) > 0:
Expand Down

0 comments on commit 431e344

Please sign in to comment.