Skip to content

Commit 8d3a62f

Browse files
committed
mark raw_outboard as deadcode to get tests to pass
1 parent c21a733 commit 8d3a62f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ pub(crate) fn compute_outboard(
333333

334334
/// Compute raw outboard, without the size header.
335335
#[cfg(test)]
336+
#[allow(dead_code)]
336337
pub(crate) fn raw_outboard(data: &[u8]) -> (Vec<u8>, Hash) {
337338
let res = bao_tree::io::outboard::PreOrderMemOutboard::create(data, IROH_BLOCK_SIZE);
338339
(res.data, res.root.into())

0 commit comments

Comments
 (0)