Keep the same name (#12616)

Co-authored-by: x <x@localhost.localdomain>
This commit is contained in:
zjb0807andx authored and GitHub committed 2022-11-09 07:42:30 +01:00
1 parent 8b2ca711b3
commit 8aedd25619
1 file changed
+4 -4
+4 -4
View File
@@ -277,15 +277,15 @@ pub mod pallet {
/// Dispatched some task.
Dispatched {
task: TaskAddress<T::BlockNumber>,
id: Option<[u8; 32]>,
id: Option<TaskName>,
result: DispatchResult,
},
/// The call for the provided hash was not found so the task has been aborted.
CallUnavailable { task: TaskAddress<T::BlockNumber>, id: Option<[u8; 32]> },
CallUnavailable { task: TaskAddress<T::BlockNumber>, id: Option<TaskName> },
/// The given task was unable to be renewed since the agenda is full at that block.
PeriodicFailed { task: TaskAddress<T::BlockNumber>, id: Option<[u8; 32]> },
PeriodicFailed { task: TaskAddress<T::BlockNumber>, id: Option<TaskName> },
/// The given task can never be executed since it is overweight.
PermanentlyOverweight { task: TaskAddress<T::BlockNumber>, id: Option<[u8; 32]> },
PermanentlyOverweight { task: TaskAddress<T::BlockNumber>, id: Option<TaskName> },
}
#[pallet::error]