Update nomos-services/consensus/src/lib.rs

Co-authored-by: Youngjoon Lee <taxihighway@gmail.com>
This commit is contained in:
Giacomo Pasini 2023-11-02 15:18:49 +01:00 committed by Giacomo Pasini
parent ab58f3dea4
commit bcd4480a08
No known key found for this signature in database
GPG Key ID: FC08489D2D895D4B
1 changed files with 1 additions and 1 deletions

View File

@ -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();