From 3ec82dea469e4e071d113927c10a883699e528b9 Mon Sep 17 00:00:00 2001 From: Arunima Chaudhuri Date: Fri, 10 Jan 2025 23:25:52 +0530 Subject: [PATCH] debug --- DAS/samplEth/samplEth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DAS/samplEth/samplEth.py b/DAS/samplEth/samplEth.py index 6bfc4ba..d632b0a 100644 --- a/DAS/samplEth/samplEth.py +++ b/DAS/samplEth/samplEth.py @@ -1413,6 +1413,8 @@ def query_peer_with_retries(peers_with_custody, peers_with_custody_level_2, peer for num_peers_to_query in growth_series: if retries >= max_retries: break + if not peers_with_custody and not peers_with_custody_level_2: + break original_retries += num_peers_to_query