Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

nit: fix naming #1805

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions shared/src/sector/registered_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl RegisteredPoStProof {
}
/// 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) -> Result<u64, String> {
pub fn window_post_partition_sectors(self) -> Result<u64, String> {
// Resolve to post proof and then compute size from that.
use RegisteredPoStProof::*;
match self {
Expand Down Expand Up @@ -219,7 +219,7 @@ impl RegisteredSealProof {

/// 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) -> Result<u64, String> {
pub fn window_post_partition_sectors(self) -> Result<u64, String> {
// Resolve to seal proof and then compute size from that.
use RegisteredSealProof::*;
match self {
Expand Down
Loading