Enable Para Registration on Kusama (#3014)

* enable registration on kusama

* Update runtime/westend/src/lib.rs

Co-authored-by: Gavin Wood <gavin@parity.io>
This commit is contained in:
Shawn Tabrizi
2021-05-12 07:32:25 -04:00
committed by GitHub
parent 41a93127a9
commit 32c21b6a6f
2 changed files with 5 additions and 9 deletions
+3 -6
View File
@@ -143,14 +143,11 @@ pub fn native_version() -> NativeVersion {
}
}
/// Avoid processing transactions from slots and parachain registrar except by root.
/// Allow everything.
pub struct BaseFilter;
impl Filter<Call> for BaseFilter {
fn filter(c: &Call) -> bool {
!matches!(c,
Call::Registrar(..) |
Call::Slots(..)
)
fn filter(_: &Call) -> bool {
true
}
}