Skip to content

Commit

Permalink
add fast unstake (paritytech#14077)
Browse files Browse the repository at this point in the history
Co-authored-by: parity-processbot <>
  • Loading branch information
Ross Bulat authored and nathanwhit committed Jul 19, 2023
1 parent ccbe9aa commit d59099b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/node/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ impl InstanceFilter<RuntimeCall> 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 {
Expand Down

0 comments on commit d59099b

Please sign in to comment.