From bcd4480a084c75f590b4e52c0b7ddfd276914e17 Mon Sep 17 00:00:00 2001 From: Giacomo Pasini <21265557+zeegomo@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:18:49 +0100 Subject: [PATCH] Update nomos-services/consensus/src/lib.rs Co-authored-by: Youngjoon Lee --- nomos-services/consensus/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomos-services/consensus/src/lib.rs b/nomos-services/consensus/src/lib.rs index 08a9672f..e3a48d06 100644 --- a/nomos-services/consensus/src/lib.rs +++ b/nomos-services/consensus/src/lib.rs @@ -432,7 +432,7 @@ where ConsensusMsg::GetBlocks { from, to, tx } => { // default to tip block if not present let from = from.unwrap_or(carnot.tip().id); - // default to tip block if not present + // default to genesis block if not present let to = to.unwrap_or(carnot.genesis_block().id); let mut res = Vec::new();