Skip to content

Commit

Permalink
fix: use the term local instead of native in local_asset_location_to_…
Browse files Browse the repository at this point in the history
…collection
  • Loading branch information
mrshiposha committed Oct 31, 2023
1 parent 79c4709 commit ea4d53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/foreign-assets/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ impl<T: Config> Pallet<T> {
///
/// If the multilocation doesn't match the patterns listed above,
/// or the `<Collection ID>` points to a foreign collection,
/// `None` is returned, identifying that the given multilocation doesn't correspond to a native collection.
/// `None` is returned, identifying that the given multilocation doesn't correspond to a local collection.
fn local_asset_location_to_collection(asset_location: &MultiLocation) -> Option<CollectionId> {
let self_location = T::SelfLocation::get();

Expand Down

0 comments on commit ea4d53f

Please sign in to comment.