Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
better doc
Browse files Browse the repository at this point in the history
Co-Authored-By: parity-processbot <>
  • Loading branch information
shawntabrizi committed Jun 24, 2021
1 parent be4014d commit e33e1b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/common/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ pub trait Leaser {
/// Returns the current lease period.
fn lease_period_index() -> Self::LeasePeriod;

/// Returns true if the parachain already has a lease in any of `slot_range`.
/// Returns true if the parachain already has a lease in any of lease periods in the inclusive
/// range `[first_period, last_period]`.
fn already_leased(
para_id: ParaId,
first_period: Self::LeasePeriod,
Expand Down

0 comments on commit e33e1b7

Please sign in to comment.