git.delta.rocks / unique-network / refs/commits / 0fb6e3fbc5a8

difftreelog

fix use the term local instead of native in local_asset_location_to_collection

Daniel Shiposha2023-10-31parent: #a768a41.patch.diff
in: master

1 file changed

modifiedpallets/foreign-assets/src/lib.rsdiffbeforeafterboth
234 ///234 ///
235 /// If the multilocation doesn't match the patterns listed above,235 /// If the multilocation doesn't match the patterns listed above,
236 /// or the `<Collection ID>` points to a foreign collection,236 /// or the `<Collection ID>` points to a foreign collection,
237 /// `None` is returned, identifying that the given multilocation doesn't correspond to a native collection.237 /// `None` is returned, identifying that the given multilocation doesn't correspond to a local collection.
238 fn local_asset_location_to_collection(asset_location: &MultiLocation) -> Option<CollectionId> {238 fn local_asset_location_to_collection(asset_location: &MultiLocation) -> Option<CollectionId> {
239 let self_location = T::SelfLocation::get();239 let self_location = T::SelfLocation::get();
240240