Skip to content

Commit d9ef846

Browse files
zhiqiangxuStebalien
authored andcommitted
fix naming
1 parent 1380a2e commit d9ef846

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
@@ -174,7 +174,7 @@ impl RegisteredPoStProof {
174174
}
175175
/// Returns the partition size, in sectors, associated with a proof type.
176176
/// The partition size is the number of sectors proven in a single PoSt proof.
177-
pub fn window_post_partitions_sector(self) -> Result<u64, String> {
177+
pub fn window_post_partition_sectors(self) -> Result<u64, String> {
178178
// Resolve to post proof and then compute size from that.
179179
use RegisteredPoStProof::*;
180180
match self {
@@ -219,7 +219,7 @@ impl RegisteredSealProof {
219219

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

0 commit comments

Comments
 (0)