git.delta.rocks / unique-network / refs/commits / 061bbd839dd9

difftreelog

fix use rft feature in dispatch

Daniel Shiposha2022-08-01parent: #8f925da.patch.diff
in: master

1 file changed

modifiedruntime/common/src/dispatch.rsdiffbeforeafterboth
64 );64 );
65 <PalletFungible<T>>::init_collection(sender, data)?65 <PalletFungible<T>>::init_collection(sender, data)?
66 }66 }
67 #[cfg(all(not(feature = "unique-runtime"), not(feature = "quartz-runtime")))]67 #[cfg(feature = "refungible")]
68 CollectionMode::ReFungible => <PalletRefungible<T>>::init_collection(sender, data)?,68 CollectionMode::ReFungible => <PalletRefungible<T>>::init_collection(sender, data)?,
6969
70 #[cfg(not(feature = "refungible"))]
70 CollectionMode::ReFungible => {71 CollectionMode::ReFungible => {
71 return Err(DispatchError::Other("Refunginle pallet is not supported"))72 return Err(DispatchError::Other("Refunginle pallet is not supported"))
72 }73 }