mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
Reanchor should return canonical location (#4470)
* Reanchor should return canonical * Formatting * Formatting * Update xcm/src/v1/multilocation.rs * Formatting * Fixes * Don't discard unreanchorable assets * Formatting * Docs * Fixes * Fixes * tidy
This commit is contained in:
@@ -207,5 +207,6 @@ impl<O> ConvertOrigin<O> for Tuple {
|
||||
/// Means of inverting a location: given a location which describes a `target` interpreted from the
|
||||
/// `source`, this will provide the corresponding location which describes the `source`.
|
||||
pub trait InvertLocation {
|
||||
fn ancestry() -> MultiLocation;
|
||||
fn invert_location(l: &MultiLocation) -> Result<MultiLocation, ()>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user