Function pallet_democracy::pallet::dispatchables::cancel_referendum
source · pub fn cancel_referendum<T: Config>(ref_index: ReferendumIndex)
Expand description
Remove a referendum.
The dispatch origin of this call must be Root.
ref_index
: The index of the referendum to cancel.
Weight: O(1)
.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::cancel_referendum
.