From b4069ac93089a95f3cca2d0eeac2c4c6438110d4 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 15 Feb 2022 01:26:54 -0800 Subject: [PATCH] Fix off by one error in log message --- src/index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.rs b/src/index.rs index cf11d4cb62..7ccdcf0447 100644 --- a/src/index.rs +++ b/src/index.rs @@ -235,7 +235,7 @@ impl Index { count += 1; } - log::info!("{}/{}: Processed {} blocks…", i + 1, blockfiles + 1, count); + log::info!("{}/{}: Processed {} blocks…", i + 1, blockfiles, count); tx.commit()?; }