From 88da732d5c0b54c192426d1c9140b4524b48412d Mon Sep 17 00:00:00 2001 From: Rostyslav Tyshko Date: Fri, 30 May 2025 15:22:15 -0400 Subject: [PATCH] clear out situation when one tries to start a DB without a block --- storage/src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/storage/src/lib.rs b/storage/src/lib.rs index e7f7f44..3157bc0 100644 --- a/storage/src/lib.rs +++ b/storage/src/lib.rs @@ -103,9 +103,8 @@ impl RocksDBIO { Ok(dbio) } else { - warn!("Starting db in unset mode, will have to set starting block manually"); - - Ok(dbio) + // Here we are trying to start a DB without a block, one should not do it. + unreachable!() } }