mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 03:31:05 +00:00
* Companion pr for Substrate #5889 * Update Substrate ref
This commit is contained in:
Generated
+129
-130
File diff suppressed because it is too large
Load Diff
@@ -913,9 +913,9 @@ impl<T: Trait> Module<T> {
|
|||||||
*len += upward_messages.iter()
|
*len += upward_messages.iter()
|
||||||
.fold(0, |a, x| a + x.data.len()) as u32;
|
.fold(0, |a, x| a + x.data.len()) as u32;
|
||||||
});
|
});
|
||||||
// Should never be able to fail assuming our state is uncorrupted, but best not
|
|
||||||
// to panic, even if it does.
|
upward_messages.iter().for_each(|m| RelayDispatchQueue::append(id, m));
|
||||||
let _ = RelayDispatchQueue::append(id, upward_messages);
|
|
||||||
if let Err(i) = ordered_needs_dispatch.binary_search(&id) {
|
if let Err(i) = ordered_needs_dispatch.binary_search(&id) {
|
||||||
// same.
|
// same.
|
||||||
ordered_needs_dispatch.insert(i, id);
|
ordered_needs_dispatch.insert(i, id);
|
||||||
|
|||||||
Reference in New Issue
Block a user