Skip to content
Snippets Groups Projects
Unverified Commit 396fffa5 authored by Radha's avatar Radha Committed by GitHub
Browse files

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 <>
parent e661dc0b
Branches
No related merge requests found
Pipeline #444284 failed with stages
in 35 minutes and 18 seconds
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment