Skip to content

Commit 8d3f182

Browse files
committed
fix one comment
1 parent ef16b6d commit 8d3f182

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pallets/subtensor/src/errors.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ mod errors {
7676
NetworkTxRateLimitExceeded,
7777
/// A transactor exceeded the rate limit for delegate transaction.
7878
DelegateTxRateLimitExceeded,
79-
/// A transactor exceeded the rate limit for set or swapping hotkey.
79+
/// A transactor exceeded the rate limit for setting or swapping hotkey.
8080
HotKeySetTxRateLimitExceeded,
81-
/// A transactor exceeded the rate limit for stakes.
81+
/// A transactor exceeded the rate limit for staking.
8282
StakeRateLimitExceeded,
8383
/// A transactor exceeded the rate limit for unstaking.
8484
UnstakeRateLimitExceeded,
@@ -94,7 +94,7 @@ mod errors {
9494
FaucetDisabled,
9595
/// Not a subnet owner.
9696
NotSubnetOwner,
97-
/// Operation is not permitted on root subnet.
97+
/// Operation is not permitted on the root subnet.
9898
RegistrationNotPermittedOnRootSubnet,
9999
/// A hotkey with too little stake is attempting to join the root subnet.
100100
StakeTooLowForRoot,
@@ -116,7 +116,7 @@ mod errors {
116116
DelegateTakeTooHigh,
117117
/// Not allowed to commit weights.
118118
WeightsCommitNotAllowed,
119-
/// No commit found for provided hotkey+netuid combination when attempting to reveal weights.
119+
/// No commit found for the provided hotkey+netuid combination when attempting to reveal the weights.
120120
NoWeightsCommitFound,
121121
/// Not the correct block/range to reveal weights.
122122
InvalidRevealCommitHashNotMatchTempo,

0 commit comments

Comments
 (0)