Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix name collision #1029

Merged
merged 1 commit into from
Jun 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions runtime/zeitgeist/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub struct IsCallable;
// Currently disables Court, Rikiddo and creation of markets using Court or SimpleDisputes
// dispute mechanism.
impl Contains<RuntimeCall> for IsCallable {
fn contains(call: &RuntimeCall) -> bool {
fn contains(runtime_call: &RuntimeCall) -> bool {
#[cfg(feature = "parachain")]
use cumulus_pallet_dmp_queue::Call::service_overweight;
use frame_system::Call::{
Expand All @@ -127,7 +127,7 @@ impl Contains<RuntimeCall> for IsCallable {
};

#[allow(clippy::match_like_matches_macro)]
match call {
match runtime_call {
// Membership is managed by the respective Membership instance
RuntimeCall::AdvisoryCommittee(set_members { .. }) => false,
// See "balance.set_balance"
Expand Down