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

difftreelog

fix wrong event

Igor Kozyrev2021-12-02parent: #359909d.patch.diff
in: master

1 file changed

modifiedpallets/unique/src/lib.rsdiffbeforeafterboth
600 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);600 let sender = T::CrossAccountId::from_sub(ensure_signed(origin)?);
601 let collection = <CollectionHandle<T>>::try_get(collection_id)?;601 let collection = <CollectionHandle<T>>::try_get(collection_id)?;
602602
603 <Pallet<T>>::deposit_event(Event::<T>::CollectionAdminAdded(603 <Pallet<T>>::deposit_event(Event::<T>::CollectionAdminRemoved(
604 collection_id,604 collection_id,
605 account_id.clone()605 account_id.clone()
606 ));606 ));