difftreelog
fix use set instead of mutate
in: master
3 files changed
pallets/common/src/lib.rsdiffbeforeafterboth1236 }1236 }1237 }1237 }123812381239 <CollectionProperties<T>>::mutate(collection.id, |properties| {1239 <CollectionProperties<T>>::set(collection.id, stored_properties);1240 *properties = stored_properties;1241 });124212401243 Ok(())1241 Ok(())1244 }1242 }pallets/nonfungible/src/lib.rsdiffbeforeafterboth682 );682 );683 }683 }684684685 <TokenProperties<T>>::mutate((collection.id, token_id), |properties| {685 <TokenProperties<T>>::set((collection.id, token_id), stored_properties);686 *properties = stored_properties;687 });688686689 Ok(())687 Ok(())690 }688 }pallets/refungible/src/lib.rsdiffbeforeafterboth611 );611 );612 }612 }613613614 <TokenProperties<T>>::mutate((collection.id, token_id), |properties| {614 <TokenProperties<T>>::set((collection.id, token_id), stored_properties);615 *properties = stored_properties;616 });617615618 Ok(())616 Ok(())619 }617 }