mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-11 21:49:26 +00:00
make remove liquidity an authorized call
This commit is contained in:
@@ -177,6 +177,9 @@ impl Contains<RuntimeCall> for CallFilter {
|
||||
},
|
||||
RuntimeCall::Dex(call) => !matches!(call, dex::Call::__Ignore(_, _)),
|
||||
RuntimeCall::ValidatorSets(call) => !matches!(call, validator_sets::Call::__Ignore(_, _)),
|
||||
RuntimeCall::GenesisLiquidity(call) => {
|
||||
!matches!(call, genesis_liquidity::Call::__Ignore(_, _))
|
||||
}
|
||||
RuntimeCall::InInstructions(call) => !matches!(call, in_instructions::Call::__Ignore(_, _)),
|
||||
RuntimeCall::Signals(call) => !matches!(call, signals::Call::__Ignore(_, _)),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user