File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -406,14 +406,14 @@ impl bao_tree::io::mixed::Sender for BaoTreeSender {
406406}
407407
408408#[ cfg( test) ]
409+ #[ cfg( feature = "fs-store" ) ]
409410pub mod tests {
410411 use bao_tree:: { io:: outboard:: PreOrderMemOutboard , ChunkRanges } ;
411412
412413 use crate :: { hash:: Hash , store:: IROH_BLOCK_SIZE } ;
413414
414415 /// Create n0 flavoured bao. Note that this can be used to request ranges below a chunk group size,
415416 /// which can not be exported via bao because we don't store hashes below the chunk group level.
416- #[ cfg( feature = "fs-store" ) ]
417417 pub fn create_n0_bao ( data : & [ u8 ] , ranges : & ChunkRanges ) -> anyhow:: Result < ( Hash , Vec < u8 > ) > {
418418 let outboard = PreOrderMemOutboard :: create ( data, IROH_BLOCK_SIZE ) ;
419419 let mut encoded = Vec :: new ( ) ;
You can’t perform that action at this time.
0 commit comments