diff --git a/src/repair_service.rs b/src/repair_service.rs index 657574c2c9..9a49c47418 100644 --- a/src/repair_service.rs +++ b/src/repair_service.rs @@ -275,7 +275,7 @@ mod test { // Check that repair tries to patch the empty slot assert_eq!( RepairService::generate_repairs(&blocktree, 2, &mut repair_info).unwrap(), - vec![RepairType::Blob(1, 0), RepairType::Blob(2, 0)] + vec![RepairType::HighestBlob(0, 0), RepairType::Blob(2, 0)] ); } Blocktree::destroy(&blocktree_path).expect("Expected successful database destruction"); @@ -348,7 +348,7 @@ mod test { blocktree.write_blobs(&blobs).unwrap(); - // We didn't get the last blob for the slot, so ask for the highest blob for that slot + // We didn't get the last blob for this slot, so ask for the highest blob for that slot let expected: Vec = vec![RepairType::HighestBlob(0, num_entries_per_slot)]; assert_eq!(