Skip to content

Commit

Permalink
Merge pull request #2340 from subspace/sync-total-sector-count
Browse files Browse the repository at this point in the history
Make `SingleDiskFarm::total_sectors_count()` synchronous
  • Loading branch information
ParthDesai authored Dec 16, 2023
2 parents 43b29b4 + 0aa1a21 commit cf7e9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/subspace-farmer/src/single_disk_farm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ impl SingleDiskFarm {
}

/// Number of sectors in this farm
pub async fn total_sectors_count(&self) -> SectorIndex {
pub fn total_sectors_count(&self) -> SectorIndex {
self.total_sectors_count
}

Expand Down

0 comments on commit cf7e9b0

Please sign in to comment.