From 396fffa5a7af13976239774beeb4563716764ad8 Mon Sep 17 00:00:00 2001
From: Radha <86818441+DrW3RK@users.noreply.github.com>
Date: Mon, 12 Feb 2024 21:07:09 +0100
Subject: [PATCH] AlreadyVoting Error - Remove ambiguity (#3280)

This error suggests using either `unvote` or `reap_vote` calls which are
unavailable in the pallet. The only available call for this is
`remove_vote`.

EDIT: Please ignore my earlier write-up. I was able to delegate with
conviction after calling `remove_vote` on all decided proposals

---------

Co-authored-by: command-bot <>
---
 substrate/frame/conviction-voting/src/lib.rs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/substrate/frame/conviction-voting/src/lib.rs b/substrate/frame/conviction-voting/src/lib.rs
index 1d6fbaa3869..466fc70a619 100644
--- a/substrate/frame/conviction-voting/src/lib.rs
+++ b/substrate/frame/conviction-voting/src/lib.rs
@@ -185,7 +185,7 @@ pub mod pallet {
 		/// The account is already delegating.
 		AlreadyDelegating,
 		/// The account currently has votes attached to it and the operation cannot succeed until
-		/// these are removed, either through `unvote` or `reap_vote`.
+		/// these are removed through `remove_vote`.
 		AlreadyVoting,
 		/// Too high a balance was provided that the account cannot afford.
 		InsufficientFunds,
@@ -231,8 +231,8 @@ pub mod pallet {
 		///
 		/// The dispatch origin of this call must be _Signed_, and the signing account must either:
 		///   - be delegating already; or
-		///   - have no voting activity (if there is, then it will need to be removed/consolidated
-		///     through `reap_vote` or `unvote`).
+		///   - have no voting activity (if there is, then it will need to be removed through
+		///     `remove_vote`).
 		///
 		/// - `to`: The account whose voting the `target` account's voting power will follow.
 		/// - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls
-- 
GitLab