Skip to content

Commit 07d8f77

Browse files
committed
fix last comment
1 parent d3de3fd commit 07d8f77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/admin-utils/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ pub mod pallet {
6666
pub enum Error<T> {
6767
/// The subnet does not exist, check the netuid parameter
6868
SubnetDoesNotExist,
69-
/// The max allowed validator number to be set is larger than max allowed UIDs
69+
/// The maximum number of subnet validators must be less than the maximum number of allowed UIDs in the subnet.
7070
MaxValidatorsLargerThanMaxUIds,
71-
/// The maximum allowed UIDs is less than UIDs already in the subnet
71+
/// The maximum number of subnet validators must be more than the current number of UIDs already in the subnet.
7272
MaxAllowedUIdsLessThanCurrentUIds,
7373
}
7474

0 commit comments

Comments
 (0)