We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d8182 commit 15f8eb7Copy full SHA for 15f8eb7
pallets/collective/src/lib.rs
@@ -665,7 +665,7 @@ pub mod pallet {
665
proposal_weight_bound: Weight,
666
#[pallet::compact] length_bound: u32,
667
) -> DispatchResultWithPostInfo {
668
- let _ = ensure_signed(origin)?;
+ ensure_root(origin)?;
669
670
Self::do_close(proposal_hash, index, proposal_weight_bound, length_bound)
671
}
0 commit comments