mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 06:31:09 +00:00
cargo fmt
This commit is contained in:
@@ -1086,14 +1086,14 @@ pub trait PriceForSiblingDelivery {
|
||||
|
||||
impl PriceForSiblingDelivery for () {
|
||||
fn price_for_sibling_delivery(_: ParaId, _: &Xcm<()>) -> MultiAssets {
|
||||
MultiAssets::new()
|
||||
MultiAssets::new()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ConstantPrice<T>(sp_std::marker::PhantomData<T>);
|
||||
impl<T: Get<MultiAssets>> PriceForSiblingDelivery for ConstantPrice<T> {
|
||||
fn price_for_sibling_delivery(_: ParaId, _: &Xcm<()>) -> MultiAssets {
|
||||
T::get()
|
||||
T::get()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -31,14 +31,14 @@ pub trait PriceForParentDelivery {
|
||||
|
||||
impl PriceForParentDelivery for () {
|
||||
fn price_for_parent_delivery(_: &Xcm<()>) -> MultiAssets {
|
||||
MultiAssets::new()
|
||||
MultiAssets::new()
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ConstantPrice<T>(PhantomData<T>);
|
||||
impl<T: Get<MultiAssets>> PriceForParentDelivery for ConstantPrice<T> {
|
||||
fn price_for_parent_delivery(_: &Xcm<()>) -> MultiAssets {
|
||||
T::get()
|
||||
T::get()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user