From 9c2ea3d41b78f611205aa314711ced4e9bb72c58 Mon Sep 17 00:00:00 2001
From: ledgerwatch <akhounov@gmail.com>
Date: Tue, 26 Apr 2022 02:26:44 +0100
Subject: [PATCH] Update stage_headers.go (#3966)

---
 eth/stagedsync/stage_headers.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eth/stagedsync/stage_headers.go b/eth/stagedsync/stage_headers.go
index e1ba34c5c8..2c13774062 100644
--- a/eth/stagedsync/stage_headers.go
+++ b/eth/stagedsync/stage_headers.go
@@ -1226,6 +1226,7 @@ func WaitForDownloader(ctx context.Context, tx kv.RwTx, cfg HeadersCfg) error {
 
 					//readiness := 100 * (float64(reply.BytesCompleted) / float64(reply.BytesTotal))
 					log.Info("[Snapshots] download", //"progress", fmt.Sprintf("%.2f%%", readiness),
+						"progress", libcommon.ByteCount(reply.BytesCompleted),
 						"download", libcommon.ByteCount(readBytesPerSec)+"/s",
 						"torrent_peers", reply.Peers,
 						"connections", reply.Connections,
-- 
GitLab