From 3c292034d701a5f116d2770be96e50ce27f41412 Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Mon, 16 Sep 2024 21:10:35 +0200 Subject: [PATCH] update comment --- substrate/frame/conviction-voting/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/substrate/frame/conviction-voting/src/lib.rs b/substrate/frame/conviction-voting/src/lib.rs index 591943ec18b3..3726142299f3 100644 --- a/substrate/frame/conviction-voting/src/lib.rs +++ b/substrate/frame/conviction-voting/src/lib.rs @@ -140,8 +140,7 @@ pub mod pallet { #[pallet::constant] type VoteLockingPeriod: Get>; - /// Hooks are actions that are executed on certain events. - /// Events: on_vote, on_remove_vote, on_remove_unsuccessful_vote + /// Hooks are called when a new vote is registered or an existing vote is removed. type VotingHooks: VotingHooks, BalanceOf>; }