git.delta.rocks / unique-network / refs/commits / 2ad114bcd575

difftreelog

cargo fmt

Daniel Shiposha2022-06-30parent: #4f0ef29.patch.diff
in: master

1 file changed

modifiedpallets/nonfungible/src/property_guard.rsdiffbeforeafterboth
32 }32 }
3333
34 pub fn check_collection_admin(&mut self) -> DispatchResult {34 pub fn check_collection_admin(&mut self) -> DispatchResult {
35 *self.collection_admin_result.get_or_insert_with(|| {35 *self
36 .collection_admin_result
36 self.collection.check_is_owner_or_admin(self.sender)37 .get_or_insert_with(|| self.collection.check_is_owner_or_admin(self.sender))
37 })
38 }38 }
3939
40 pub fn check_token_owner(&mut self) -> DispatchResult {40 pub fn check_token_owner(&mut self) -> DispatchResult {