From e2ee19c973efb14c322dddd436c0c194af69b42b Mon Sep 17 00:00:00 2001 From: Alessandro Siniscalchi Date: Thu, 24 Oct 2024 12:00:41 +0200 Subject: [PATCH] Root can spend funds of Treasury --- runtime/laos/src/configs/treasury.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/laos/src/configs/treasury.rs b/runtime/laos/src/configs/treasury.rs index a3165dcd..ef6f5ff5 100644 --- a/runtime/laos/src/configs/treasury.rs +++ b/runtime/laos/src/configs/treasury.rs @@ -54,7 +54,7 @@ impl pallet_treasury::Config for Runtime { type ProposalBondMinimum = ProposalBondMinimum; type RejectOrigin = RejectOrigin; type RuntimeEvent = RuntimeEvent; - type SpendFunds = (); + type SpendFunds = EnsureRoot; type SpendPeriod = SpendPeriod; // Disabled, no spending allowed. #[cfg(not(feature = "runtime-benchmarks"))]