pallet-democracy: Do not request the proposal when scheduling (#13827)

The requesting of the proposal is actually done now in `pallet-scheduler`.

Fixes: https://github.com/paritytech/substrate/issues/13534
This commit is contained in:
Bastian Köcher
2023-04-25 09:21:54 +02:00
committed by GitHub
parent 3e02be440e
commit fcfe769c6c
3 changed files with 13 additions and 16 deletions
@@ -438,6 +438,8 @@ pub mod v3 {
/// Schedule a dispatch to happen at the beginning of some block in the future.
///
/// - `id`: The identity of the task. This must be unique and will return an error if not.
///
/// NOTE: This will request `call` to be made available.
fn schedule_named(
id: TaskName,
when: DispatchTime<BlockNumber>,