Allow AuctionAdmin to use Scheduler (#6573)

This commit is contained in:
Gavin Wood
2023-01-17 14:54:05 -03:00
committed by GitHub
parent 78645cacda
commit f8a602ac0a
+1 -1
View File
@@ -224,7 +224,7 @@ impl pallet_scheduler::Config for Runtime {
type PalletsOrigin = OriginCaller;
type RuntimeCall = RuntimeCall;
type MaximumWeight = MaximumSchedulerWeight;
type ScheduleOrigin = EnsureRoot<AccountId>;
type ScheduleOrigin = EitherOf<EnsureRoot<AccountId>, AuctionAdmin>;
type MaxScheduledPerBlock = MaxScheduledPerBlock;
type WeightInfo = weights::pallet_scheduler::WeightInfo<Runtime>;
type OriginPrivilegeCmp = OriginPrivilegeCmp;