add fast unstake (#14077)

Co-authored-by: parity-processbot <>
This commit is contained in:
Ross Bulat
2023-05-04 18:27:02 +01:00
committed by GitHub
parent 9c53fd7299
commit 0e55bace37
+2 -1
View File
@@ -324,7 +324,8 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Elections(..) | RuntimeCall::Elections(..) |
RuntimeCall::Treasury(..) RuntimeCall::Treasury(..)
), ),
ProxyType::Staking => matches!(c, RuntimeCall::Staking(..)), ProxyType::Staking =>
matches!(c, RuntimeCall::Staking(..) | RuntimeCall::FastUnstake(..)),
} }
} }
fn is_superset(&self, o: &Self) -> bool { fn is_superset(&self, o: &Self) -> bool {