mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 01:27:56 +00:00
make it actually compile
This commit is contained in:
@@ -25,6 +25,7 @@ use frame_support::{
|
||||
match_types, parameter_types,
|
||||
traits::{ConstU32, Everything, Nothing, PalletInfoAccess},
|
||||
traits::{EnsureOriginWithArg, Everything, PalletInfoAccess},
|
||||
traits::{EnsureOrigin, EnsureOriginWithArg, Everything, PalletInfoAccess},
|
||||
};
|
||||
use pallet_xcm::{EnsureXcm, XcmPassthrough};
|
||||
use parachains_common::{
|
||||
@@ -280,7 +281,7 @@ impl EnsureOriginWithArg<RuntimeOrigin, MultiLocation> for ForeignCreators {
|
||||
o: RuntimeOrigin,
|
||||
a: &MultiLocation,
|
||||
) -> sp_std::result::Result<Self::Success, RuntimeOrigin> {
|
||||
let origin_location = EnsureXcm::try_origin(o.clone())?;
|
||||
let origin_location = EnsureXcm::<Everything>::try_origin(o.clone())?;
|
||||
|
||||
// dirty hack, should port vvv into master and use `starts_with`
|
||||
// https://github.com/paritytech/polkadot/commit/e640d826513c45a0452138c8908a699e19ac0143
|
||||
|
||||
Reference in New Issue
Block a user