Skip to content

Commit

Permalink
Update system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: joe petrowski <[email protected]>
  • Loading branch information
claravanstaden and joepetrowski authored Dec 18, 2024
1 parent 71f41dd commit 003bbee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,8 @@ impl Contains<RuntimeCall> for BaseFilter {
// Disallow these Snowbridge system calls.
if matches!(
call,
RuntimeCall::EthereumSystem(snowbridge_pallet_system::Call::create_agent { .. })
) || matches!(
call,
RuntimeCall::EthereumSystem(snowbridge_pallet_system::Call::create_channel { .. })
RuntimeCall::EthereumSystem(snowbridge_pallet_system::Call::create_agent { .. }) |
RuntimeCall::EthereumSystem(snowbridge_pallet_system::Call::create_channel { .. })
) {
return false;
}
Expand Down

0 comments on commit 003bbee

Please sign in to comment.