fix deprecated usage of panic (#8134)

This commit is contained in:
Guillaume Thiolliere
2021-02-16 19:02:53 +01:00
committed by GitHub
parent ed9c08dd01
commit f49aae65a8
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -424,7 +424,7 @@ pub trait ProvideInherent {
/// - `Err(_)` indicates that this function failed and further operations should be aborted.
///
/// CAUTION: This check has a bug when used in pallets that also provide unsigned transactions.
/// See https://github.com/paritytech/substrate/issues/6243 for details.
/// See <https://github.com/paritytech/substrate/issues/6243> for details.
fn is_inherent_required(_: &InherentData) -> Result<Option<Self::Error>, Self::Error> { Ok(None) }
/// Check whether the given inherent is valid. Checking the inherent is optional and can be