Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekkMA committed Mar 30, 2022
1 parent 6eef38a commit df81a90
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions runtime/src/free_calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,10 @@ const fn check_free_calls_config(configs: &'static [WindowConfig<BlockNumber>])
while i < configs.len() {
let current_config = &configs[i];

// current period shouldn't be greater than or equal to the previous period
if current_config.period >= prev_config.period {
return false;
}

// current ratio shouldn't be larger than or equal to the previous ratio
if current_config.fraction_of_max_quota.get() >= prev_config.fraction_of_max_quota.get() {
return false;
}
Expand Down

0 comments on commit df81a90

Please sign in to comment.