Skip to content

Commit 0632431

Browse files
committed
fix one comment
1 parent ca5dfe6 commit 0632431

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pallets/subtensor/src/errors.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ mod errors {
1616
InvalidIpAddress,
1717
/// An invalid port is passed to the serve function.
1818
InvalidPort,
19-
/// The hot key not registered in subnet
19+
/// The hotkey is not registered in subnet
2020
HotKeyNotRegisteredInSubNet,
21-
/// The hot key not exists
21+
/// The hotkey does not exists
2222
HotKeyAccountNotExists,
23-
/// The hot key is not registered in any subnet.
23+
/// The hotkey is not registered in any subnet.
2424
HotKeyNotRegisteredInNetwork,
2525
/// stake, unstake or subscribe request is made by a coldkey which is not associated with the hotkey account.
2626
NonAssociatedColdKey,
27-
/// The hot key is not a delegate and the signer is not the owner of the hot key.
27+
/// The hotkey is not a delegate and the signer is not the owner of the hotkey.
2828
HotKeyNotDelegateAndSignerNotOwnHotKey,
2929
/// Stake to withdraw amount is zero
3030
StakeToWithdrawIsZero,
@@ -52,7 +52,7 @@ mod errors {
5252
TooManyRegistrationsThisBlock,
5353
/// The caller is requesting registering a neuron which already exists in the active set.
5454
HotKeyAlreadyRegisteredInSubNet,
55-
/// The new hot key is the same as old one
55+
/// The new hotkey is the same as old one
5656
NewHotKeyIsSameWithOld,
5757
/// The supplied PoW hash block is in the future or negative.
5858
InvalidWorkBlock,
@@ -76,7 +76,7 @@ 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 hot key.
79+
/// A transactor exceeded the rate limit for set or swapping hotkey.
8080
HotKeySetTxRateLimitExceeded,
8181
/// A transactor exceeded the rate limit for stakes.
8282
StakeRateLimitExceeded,
@@ -100,7 +100,7 @@ mod errors {
100100
StakeTooLowForRoot,
101101
/// All subnets are in the immunity period.
102102
AllNetworksInImmunity,
103-
/// Not enough balance to pay swapping hot key.
103+
/// Not enough balance to pay swapping hotkey.
104104
NotEnoughBalanceToPaySwapHotKey,
105105
/// Netuid does not match for setting root network weights.
106106
NotRootSubnet,

0 commit comments

Comments
 (0)