mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +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:
@@ -71,6 +71,9 @@ impl InvertLocation for InvertNothing {
|
||||
fn invert_location(_: &MultiLocation) -> sp_std::result::Result<MultiLocation, ()> {
|
||||
Ok(Here.into())
|
||||
}
|
||||
fn ancestry() -> MultiLocation {
|
||||
Here.into()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct XcmConfig;
|
||||
|
||||
Reference in New Issue
Block a user