mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
sudo_queue_downward_message (#1941)
* Add a sudo wrapper for Dmp::queue_downward_message * Apply suggestions from code review Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com> * Stylistic changes * Remove trailing whitespaces Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com>
This commit is contained in:
@@ -542,7 +542,7 @@ impl<T: Trait> Module<T> {
|
||||
}
|
||||
|
||||
/// Returns whether the given ID refers to a valid para.
|
||||
pub(crate) fn is_valid_para(id: ParaId) -> bool {
|
||||
pub fn is_valid_para(id: ParaId) -> bool {
|
||||
Self::parachains().binary_search(&id).is_ok()
|
||||
|| Self::is_parathread(id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user