From 8a1f24982b7935b122bb51dc4843ebe868e9cef0 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Thu, 28 Nov 2019 12:38:47 +0000 Subject: [PATCH] Enable governance transactions (#628) --- polkadot/runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/runtime/src/lib.rs b/polkadot/runtime/src/lib.rs index 82ad325fe5..0e79a0cc9e 100644 --- a/polkadot/runtime/src/lib.rs +++ b/polkadot/runtime/src/lib.rs @@ -130,7 +130,7 @@ impl SignedExtension for OnlyStakingAndClaims { -> TransactionValidity { match call { - Call::Balances(_) | Call::Slots(_) | Call::Registrar(_) | Call::Democracy(_) + Call::Balances(_) | Call::Slots(_) | Call::Registrar(_) => Err(InvalidTransaction::Custom(ValidityError::NoPermission.into()).into()), _ => Ok(Default::default()), }