Skip to content

Commit

Permalink
Merge pull request #2348 from subspace/gemini-3g-backport-sync-total-…
Browse files Browse the repository at this point in the history
…sector-count

Make `SingleDiskFarm::total_sectors_count()` synchronous
  • Loading branch information
nazar-pc authored Dec 18, 2023
2 parents d1daceb + 95bc2ee commit f5eb5f2
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 @@ -1303,7 +1303,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 f5eb5f2

Please sign in to comment.