From 86c66a7741468f65bbfde9fe7fde4f48ea82a3de Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Tue, 2 Jun 2020 18:03:28 +0200 Subject: [PATCH] Updtae constraint (#1187) --- polkadot/runtime/polkadot/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polkadot/runtime/polkadot/src/lib.rs b/polkadot/runtime/polkadot/src/lib.rs index bcca43b602..aa99fe9da6 100644 --- a/polkadot/runtime/polkadot/src/lib.rs +++ b/polkadot/runtime/polkadot/src/lib.rs @@ -115,7 +115,8 @@ impl Filter for IsCallable { // Parachains stuff Call::Parachains(_) | Call::Attestations(_) | Call::Slots(_) | Call::Registrar(_) | // Balances and Vesting's transfer (which can be used to transfer) - Call::Balances(_) | Call::Vesting(vesting::Call::vested_transfer(..)) => + Call::Balances(_) | Call::Vesting(vesting::Call::vested_transfer(..)) | + Call::Indices(indices::Call::transfer(..)) => false, // These modules are all allowed to be called by transactions: