mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Rococo allows ROC to be teleported from Tick, Trick and Track (#2872)
Also allows unpaid messages from them.
This commit is contained in:
@@ -26,11 +26,10 @@ impl FilterAssetLocation for NativeAsset {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pub struct Case<T>(PhantomData<T>);
|
||||
impl<T: Get<(MultiAsset, MultiLocation)>> FilterAssetLocation for Case<T> {
|
||||
fn filter_asset_location(asset: &MultiAsset, origin: &MultiLocation) -> bool {
|
||||
let (a, o) = T::get();
|
||||
&a == asset && &o == origin
|
||||
a.contains(asset) && &o == origin
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user