Skip to content

Commit

Permalink
Correct the rate limit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gztensor committed Jul 11, 2024
1 parent 095b618 commit 907b40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/src/staking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ impl<T: Config> Pallet<T> {
let min_take = MinTake::<T>::get();
ensure!(take >= min_take, Error::<T>::DelegateTakeTooLow);

// --- 5. Enforce the rate limit (independently on do_add_stake rate limits)
// Enforce the rate limit (independently on do_add_stake rate limits)
let block: u64 = Self::get_current_block_as_u64();
ensure!(
!Self::exceeds_tx_delegate_take_rate_limit(
Expand Down

0 comments on commit 907b40a

Please sign in to comment.