Skip to content

Commit 4236755

Browse files
committed
fix naming
1 parent 3ad5b90 commit 4236755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared/src/sector/registered_proof.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ impl RegisteredPoStProof {
164164
}
165165
/// Returns the partition size, in sectors, associated with a proof type.
166166
/// The partition size is the number of sectors proven in a single PoSt proof.
167-
pub fn window_post_partitions_sector(self) -> Result<u64, String> {
167+
pub fn window_post_partition_sectors(self) -> Result<u64, String> {
168168
// Resolve to post proof and then compute size from that.
169169
use RegisteredPoStProof::*;
170170
match self {
@@ -200,7 +200,7 @@ impl RegisteredSealProof {
200200

201201
/// Returns the partition size, in sectors, associated with a proof type.
202202
/// The partition size is the number of sectors proven in a single PoSt proof.
203-
pub fn window_post_partitions_sector(self) -> Result<u64, String> {
203+
pub fn window_post_partition_sectors(self) -> Result<u64, String> {
204204
// Resolve to seal proof and then compute size from that.
205205
use RegisteredSealProof::*;
206206
match self {

0 commit comments

Comments
 (0)