Skip to content

Commit

Permalink
fix: Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan46 committed Jun 19, 2024
1 parent 52e7542 commit 2d72a84
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pallets/storage-provider/src/types/proofs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ impl RegisteredPoStProof {
}
}

/// Proof size for each PoStProof type
#[allow(unused)]
pub fn proof_size(self) -> usize {
match self {
RegisteredPoStProof::StackedDRGWindow2KiBV1P1 => 192,
}
}
/// Returns the partition size, in sectors, associated with a proof type.
/// The partition size is the number of sectors proven in a single PoSt proof.
pub fn window_post_partitions_sector(self) -> u64 {
Expand Down

0 comments on commit 2d72a84

Please sign in to comment.