mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Make sure we clear the freed the availability cores (#1921)
If a core is freed, we need to make sure it is inserted as free into availability cores, because we can not be sure that the core is occupied directly again.
This commit is contained in:
@@ -104,7 +104,7 @@ decl_module! {
|
||||
let freed = freed_concluded.into_iter().map(|c| (c, FreedReason::Concluded))
|
||||
.chain(freed_timeout.into_iter().map(|c| (c, FreedReason::TimedOut)));
|
||||
|
||||
<scheduler::Module<T>>::schedule(freed.collect());
|
||||
<scheduler::Module<T>>::schedule(freed);
|
||||
|
||||
// Process backed candidates according to scheduled cores.
|
||||
let occupied = <inclusion::Module<T>>::process_candidates(
|
||||
|
||||
Reference in New Issue
Block a user