Function democracy::pallet::dispatchables::remove_vote
source · pub fn remove_vote<T: Config>(index: ReferendumIndex)
Expand description
Remove a vote for an ongoing referendum.
The dispatch origin of this call must be Signed, and the signer must have a vote
registered for referendum index
.
index
: The index of referendum of the vote to be removed.
Weight: O(R + log R)
where R is the number of referenda that target
has voted on.
Weight is calculated for the maximum number of vote.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::remove_vote
.