From 1082eaaeb38fc55ea1c2a135d8b68259ddc1130a Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Tue, 12 Aug 2025 15:34:34 +0200 Subject: [PATCH] graph/db: fix progress logs --- graph/db/sql_migration.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/graph/db/sql_migration.go b/graph/db/sql_migration.go index 0b06e7cac..4d337ad94 100644 --- a/graph/db/sql_migration.go +++ b/graph/db/sql_migration.go @@ -603,6 +603,7 @@ func migratePruneLog(ctx context.Context, kvBackend kvdb.Backend, hash *chainhash.Hash) error { count++ + chunk++ // Keep track of the prune tip height and hash. if height > pruneTipHeight { @@ -786,6 +787,7 @@ func migrateClosedSCIDIndex(ctx context.Context, kvBackend kvdb.Backend, ) migrateSingleClosedSCID := func(scid lnwire.ShortChannelID) error { count++ + chunk++ chanIDB := channelIDToBytes(scid.ToUint64()) err := sqlDB.InsertClosedChannel(ctx, chanIDB) @@ -874,6 +876,7 @@ func migrateZombieIndex(ctx context.Context, kvBackend kvdb.Backend, } count++ + chunk++ err = sqlDB.UpsertZombieChannel( ctx, sqlc.UpsertZombieChannelParams{