Function pallet_referenda::pallet::dispatchables::cancel
source · pub fn cancel<T: Config<I>, I: 'static>(index: ReferendumIndex)
Expand description
Cancel an ongoing referendum.
origin
: must be theCancelOrigin
.index
: The index of the referendum to be cancelled.
Emits Cancelled
.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::cancel
.