From 7290c244f0e43b250a55837ec05b6587d1227993 Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Thu, 25 Jul 2024 14:47:14 +0900 Subject: [PATCH] Be verbose about inter node sleep because it's annoying to diagnose this Alchemy crap --- eth_defi/confirmation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eth_defi/confirmation.py b/eth_defi/confirmation.py index 7b003322..2b6619b9 100644 --- a/eth_defi/confirmation.py +++ b/eth_defi/confirmation.py @@ -619,6 +619,10 @@ def wait_and_broadcast_multiple_nodes( inter_node_delay ) time.sleep(inter_node_delay.total_seconds()) + else: + logger.info( + "Internode sleep skipped", + ) while len(unconfirmed_txs) > 0: # Transaction hashes that receive confirmation on this round