mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
pallet-scheduler: Check that when is not in the past (#6480)
* `pallet-scheduler`: Check that `when` is not in the past * Break some lines
This commit is contained in:
@@ -1501,7 +1501,7 @@ pub mod schedule {
|
||||
maybe_periodic: Option<Period<BlockNumber>>,
|
||||
priority: Priority,
|
||||
call: Call
|
||||
) -> Self::Address;
|
||||
) -> Result<Self::Address, DispatchError>;
|
||||
|
||||
/// Cancel a scheduled task. If periodic, then it will cancel all further instances of that,
|
||||
/// also.
|
||||
|
||||
Reference in New Issue
Block a user