This commit is contained in:
Keith Yeung
2022-08-25 01:16:01 +08:00
parent 0f3f8b8623
commit 57e44204d5
@@ -21,7 +21,7 @@ use frame_support::{
}; };
use pallet_alliance::{ProposalIndex, ProposalProvider}; use pallet_alliance::{ProposalIndex, ProposalProvider};
use sp_std::{boxed::Box, marker::PhantomData}; use sp_std::{boxed::Box, marker::PhantomData};
use xcm::latest::{Fungibility, Junction, NetworkId, Parent}; use xcm::latest::{Fungibility, Junction, Parent};
type AccountIdOf<T> = <T as frame_system::Config>::AccountId; type AccountIdOf<T> = <T as frame_system::Config>::AccountId;
@@ -66,7 +66,7 @@ where
Box::new(Parent.into()), Box::new(Parent.into()),
Box::new( Box::new(
Junction::AccountId32 { network: None, id: treasury_acc.into() } Junction::AccountId32 { network: None, id: treasury_acc.into() }
.into() .into_location()
.into(), .into(),
), ),
Box::new((Parent, imbalance).into()), Box::new((Parent, imbalance).into()),