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

difftreelog

Merge pull request #251 from UniqueNetwork/feature/CORE-264

kozyrevdev2021-12-02parents: #a5075ea #8649283.patch.diff
in: master
CORE-264

1 file changed

modifiedruntime/src/lib.rsdiffbeforeafterboth
1019 ($collection:ident.$method:ident($($name:ident),*)) => {{1019 ($collection:ident.$method:ident($($name:ident),*)) => {{
1020 use pallet_unique::dispatch::Dispatched;1020 use pallet_unique::dispatch::Dispatched;
10211021
1022 let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::new($collection).unwrap());1022 let collection = Dispatched::dispatch(<pallet_common::CollectionHandle<Runtime>>::new($collection).unwrap_or_default());
1023 let dispatch = collection.as_dyn();1023 let dispatch = collection.as_dyn();
10241024
1025 dispatch.$method($($name),*)1025 dispatch.$method($($name),*)