From f6608b8a0ebf7c5ece6eafa70196c2ce33af90bb Mon Sep 17 00:00:00 2001 From: open-junius Date: Tue, 25 Jun 2024 19:19:38 +0800 Subject: [PATCH] update one error comment --- pallets/subtensor/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/subtensor/src/errors.rs b/pallets/subtensor/src/errors.rs index 62c1d799bc..f99f28419e 100644 --- a/pallets/subtensor/src/errors.rs +++ b/pallets/subtensor/src/errors.rs @@ -64,7 +64,7 @@ mod errors { MaxWeightExceeded, /// The hotkey is attempting to become a delegate when the hotkey is already a delegate. HotKeyAlreadyDelegate, - /// The hotkey is attempting to set weights twice within the duration of net_tempo/2 blocks. + /// A transactor exceeded the rate limit for setting weights. SettingWeightsTooFast, /// A validator is attempting to set weights from a validator with incorrect weight version. IncorrectWeightVersionKey,