Skip to content

Commit

Permalink
Copy polkadot proxy config
Browse files Browse the repository at this point in the history
  • Loading branch information
magecnion committed Apr 9, 2024
1 parent cf040a4 commit 7383f4a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion runtime/laos/src/configs/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
}

fn is_superset(&self, o: &Self) -> bool {
self == &ProxyType::Any || self == o
match (self, o) {
(x, y) if x == y => true,
(ProxyType::Any, _) => true,
}
}
}

Expand Down

0 comments on commit 7383f4a

Please sign in to comment.