git.delta.rocks / unique-network / refs/commits / d221bab76668

difftreelog

test upgrade filter api

Yaroslav Bolyukin2021-09-08parent: #b5ed7fc.patch.diff
in: master

1 file changed

modifiedpallets/scheduler/src/lib.rsdiffbeforeafterboth
870870
871 // Scheduler must dispatch with root and no filter, this tests base filter is indeed not used.871 // Scheduler must dispatch with root and no filter, this tests base filter is indeed not used.
872 pub struct BaseFilter;872 pub struct BaseFilter;
873 impl Filter<Call> for BaseFilter {873 impl Contains<Call> for BaseFilter {
874 fn filter(call: &Call) -> bool {874 fn contains(call: &Call) -> bool {
875 !matches!(call, Call::Logger(logger::Call::log(_, _)))875 !matches!(call, Call::Logger(logger::Call::log(_, _)))
876 }876 }
877 }877 }