Skip to content
Snippets Groups Projects
Commit 31d93656 authored by asynchronous rob's avatar asynchronous rob Committed by GitHub
Browse files

kusama: allow root to cancel/kill referendums (#6665)

* kusama: allow root to cancel/kill referendums

* fix semicolons

---------

Co-authored-by: parity-processbot <>
parent cf3c838e
Branches
No related merge requests found
......@@ -82,8 +82,8 @@ impl pallet_referenda::Config for Runtime {
type Scheduler = Scheduler;
type Currency = Balances;
type SubmitOrigin = frame_system::EnsureSigned<AccountId>;
type CancelOrigin = ReferendumCanceller;
type KillOrigin = ReferendumKiller;
type CancelOrigin = EitherOf<EnsureRoot<AccountId>, ReferendumCanceller>;
type KillOrigin = EitherOf<EnsureRoot<AccountId>, ReferendumKiller>;
type Slash = Treasury;
type Votes = pallet_conviction_voting::VotesOf<Runtime>;
type Tally = pallet_conviction_voting::TallyOf<Runtime>;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment