mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
* impl is_inherent for pallets * fix * fix master merge: inherent is * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
d0055b1af8
commit
f1f9192a38
Generated
+149
-149
File diff suppressed because it is too large
Load Diff
@@ -257,6 +257,10 @@ impl<T: Config> ProvideInherent for Module<T> {
|
|||||||
|
|
||||||
Some(Call::enter(inherent_data))
|
Some(Call::enter(inherent_data))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn is_inherent(call: &Self::Call) -> bool {
|
||||||
|
matches!(call, Call::enter(..))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|||||||
Reference in New Issue
Block a user