Skip to content

Commit 6bf9072

Browse files
committed
fix one more comment
1 parent 4129c8a commit 6bf9072

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pallets/subtensor/src/errors.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ mod errors {
2222
HotKeyAccountNotExists,
2323
/// The hotkey is not registered in any subnet.
2424
HotKeyNotRegisteredInNetwork,
25-
/// stake, unstake or subscribe request is made by a coldkey which is not associated with the hotkey account.
25+
/// Request to stake, unstake or subscribe is made by a coldkey that is not associated with the hotkey account.
2626
NonAssociatedColdKey,
2727
/// The hotkey is not a delegate and the signer is not the owner of the hotkey.
2828
HotKeyNotDelegateAndSignerNotOwnHotKey,
2929
/// Stake amount to withdraw is zero.
3030
StakeToWithdrawIsZero,
31-
/// The caller is requesting removing more stake than there exists in the staking account. See: fn "[remove_stake]".
31+
/// The caller is requesting removing more stake than there exists in the staking account. See: "[remove_stake()]".
3232
NotEnoughStakeToWithdraw,
3333
/// The caller is requesting to set weights but the caller has less than minimum stake required to set weights (less than WeightsMinStake).
3434
NotEnoughStakeToSetWeights,
35-
/// The caller is requesting adding more stake than there exists in the coldkey account. See: fn "[add_stake()]"
35+
/// The caller is requesting adding more stake than there exists in the coldkey account. See: "[add_stake()]"
3636
NotEnoughBalanceToStake,
3737
/// The caller is trying to add stake, but for some reason the requested amount could not be withdrawn from the coldkey account.
3838
BalanceWithdrawalError,

0 commit comments

Comments
 (0)