Tidy up XCM errors in preparation for v2. (#3988)

* Tidy up XCM errors

* Tidy up errors

* Re-order

* Fixes

* Formatting

* map undefined errors

* add functor to dictionary

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Gavin Wood
2021-10-02 00:14:13 +02:00
committed by GitHub
parent 09cecc82de
commit 3bab876bc1
7 changed files with 86 additions and 85 deletions
+1
View File
@@ -1098,6 +1098,7 @@ pub mod pallet {
Ok(())
}
}
impl<T: Config> DropAssets for Pallet<T> {
fn drop_assets(origin: &MultiLocation, assets: Assets) -> Weight {
if assets.is_empty() {