From 012fa35934009e25f23485b23fba57344c805059 Mon Sep 17 00:00:00 2001 From: Ross Bulat Date: Thu, 4 May 2023 15:30:11 +0700 Subject: [PATCH] add fast unstake --- bin/node/runtime/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/node/runtime/src/lib.rs b/bin/node/runtime/src/lib.rs index 60d9549135b4f..66d0e6bd84890 100644 --- a/bin/node/runtime/src/lib.rs +++ b/bin/node/runtime/src/lib.rs @@ -324,7 +324,8 @@ impl InstanceFilter for ProxyType { RuntimeCall::Elections(..) | RuntimeCall::Treasury(..) ), - ProxyType::Staking => matches!(c, RuntimeCall::Staking(..)), + ProxyType::Staking => + matches!(c, RuntimeCall::Staking(..) | RuntimeCall::FastUnstake(..)), } } fn is_superset(&self, o: &Self) -> bool {