From 57e44204d591c227dccdd8366d08cf12e680165e Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Thu, 25 Aug 2022 01:16:01 +0800 Subject: [PATCH] Fixes --- .../runtimes/collectives/collectives-polkadot/src/impls.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/impls.rs b/parachains/runtimes/collectives/collectives-polkadot/src/impls.rs index da901ae0c3..34656f46e1 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/impls.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/impls.rs @@ -21,7 +21,7 @@ use frame_support::{ }; use pallet_alliance::{ProposalIndex, ProposalProvider}; use sp_std::{boxed::Box, marker::PhantomData}; -use xcm::latest::{Fungibility, Junction, NetworkId, Parent}; +use xcm::latest::{Fungibility, Junction, Parent}; type AccountIdOf = ::AccountId; @@ -66,7 +66,7 @@ where Box::new(Parent.into()), Box::new( Junction::AccountId32 { network: None, id: treasury_acc.into() } - .into() + .into_location() .into(), ), Box::new((Parent, imbalance).into()),