From 39a0bfeb0fffe4e332834c9c44d5830b9fde3dc4 Mon Sep 17 00:00:00 2001 From: Alfredo Garcia Date: Sat, 9 Dec 2023 11:44:16 -0300 Subject: [PATCH] refactor a log msg --- zebra-scan/src/storage/db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra-scan/src/storage/db.rs b/zebra-scan/src/storage/db.rs index 74ce036ccdc..02b210127af 100644 --- a/zebra-scan/src/storage/db.rs +++ b/zebra-scan/src/storage/db.rs @@ -84,8 +84,8 @@ impl Storage { tracing::info!( "Last scanned height for key number {} is {}, resuming at {}", key_num, - height.0 - 1, - height.0 + height.previous().expect("height is not genesis").as_usize(), + height.as_usize(), ); }