From a94996df7b8247513dc79c9cb3984927a671f5b8 Mon Sep 17 00:00:00 2001
From: Crypto Minion <154598612+jrwbabylonlab@users.noreply.github.com>
Date: Sat, 30 Nov 2024 18:22:45 +1100
Subject: [PATCH] chore: log every block height we receive (#79)

---
 internal/services/bootstrap.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/internal/services/bootstrap.go b/internal/services/bootstrap.go
index 7cc235d..e4a1e42 100644
--- a/internal/services/bootstrap.go
+++ b/internal/services/bootstrap.go
@@ -90,9 +90,8 @@ func (s *Service) processBlocksSequentially(ctx context.Context) *types.Error {
 					}
 					lastProcessedHeight = i
 				}
+				log.Info().Msgf("Processed blocks up to height %d", lastProcessedHeight)
 			}
-
-			log.Info().Msgf("Processed blocks up to height %d", lastProcessedHeight)
 		}
 	}
 }