pub fn cancel<T: Config<I>, I: 'static>(index: ReferendumIndex)
Expand description

Cancel an ongoing referendum.

  • origin: must be the CancelOrigin.
  • 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.