From e34cbb6136d916e9fe6e6689c43bc86419472ef2 Mon Sep 17 00:00:00 2001 From: kozyrevdev <73348153+kozyrevdev@users.noreply.github.com> Date: Thu, 02 Dec 2021 21:26:28 +0000 Subject: [PATCH] Merge pull request #251 from UniqueNetwork/feature/CORE-264 CORE-264 --- --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1019,7 +1019,7 @@ ($collection:ident.$method:ident($($name:ident),*)) => {{ use pallet_unique::dispatch::Dispatched; - let collection = Dispatched::dispatch(>::new($collection).unwrap()); + let collection = Dispatched::dispatch(>::new($collection).unwrap_or_default()); let dispatch = collection.as_dyn(); dispatch.$method($($name),*) -- gitstuff