Skip to content

Commit

Permalink
cargo fmt --all
Browse files Browse the repository at this point in the history
  • Loading branch information
salman01zp committed Nov 14, 2023
1 parent cd75483 commit 2dfe702
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions standalone/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1113,12 +1113,10 @@ impl Contains<RuntimeCall> for BaseFilter {
}

// no withdraw_unbonded call
let is_stake_withdraw_call = matches!(
call,
RuntimeCall::Staking(pallet_staking::Call::withdraw_unbonded { .. })
);
let is_stake_withdraw_call =
matches!(call, RuntimeCall::Staking(pallet_staking::Call::withdraw_unbonded { .. }));

if is_stake_withdraw_call{
if is_stake_withdraw_call {
return false
}

Expand Down

0 comments on commit 2dfe702

Please sign in to comment.