Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update frame/support/procedural/src/construct_runtime/expand/origin.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Keith Yeung <[email protected]>
  • Loading branch information
gui1117 and KiChjang authored Oct 6, 2021
1 parent 1411f7b commit f9ed7b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ pub fn expand_outer_origin(
}

fn filter_call(&self, call: &Self::Call) -> bool {
// Root bypass all filters
// Root bypasses all filters
matches!(self.caller, OriginCaller::system(#system_path::Origin::<#runtime>::Root))
|| (self.filter)(call)
}
Expand Down

0 comments on commit f9ed7b8

Please sign in to comment.