referrerpolicy=no-referrer-when-downgrade

Function pallet_democracy::pallet::dispatchables::cancel_proposal

source ·
pub fn cancel_proposal<T: Config>(prop_index: PropIndex)
Expand description

Remove a proposal.

The dispatch origin of this call must be CancelProposalOrigin.

  • prop_index: The index of the proposal to cancel.

Weight: O(p) where p = PublicProps::<T>::decode_len()

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::cancel_proposal.