git.delta.rocks / unique-network / refs/commits / 5202947b27c9

difftreelog

fix remove task from lookup if no preimage postponement

Daniel Shiposha2022-10-12parent: #3ad3698.patch.diff
in: master

1 file changed

modifiedpallets/scheduler/src/lib.rsdiffbeforeafterboth
412 Lookup::<T>::insert(id, (until, index as u32));412 Lookup::<T>::insert(id, (until, index as u32));
413 }413 }
414 Agenda::<T>::append(until, Some(s));414 Agenda::<T>::append(until, Some(s));
415 } else if let Some(ref id) = s.maybe_id {
416 Lookup::<T>::remove(id);
415 }417 }
416 continue;418 continue;
417 }419 }