Skip to content
Snippets Groups Projects
Commit 776692c0 authored by zqhxuyuan's avatar zqhxuyuan Committed by GitHub
Browse files

make era public (#11575)

parent eb4be021
Branches
No related merge requests found
......@@ -33,7 +33,7 @@ use sp_runtime::{
/// The extension affects `longevity` of the transaction according to the [`Era`] definition.
#[derive(Encode, Decode, Clone, Eq, PartialEq, TypeInfo)]
#[scale_info(skip_type_params(T))]
pub struct CheckMortality<T: Config + Send + Sync>(Era, sp_std::marker::PhantomData<T>);
pub struct CheckMortality<T: Config + Send + Sync>(pub Era, sp_std::marker::PhantomData<T>);
impl<T: Config + Send + Sync> CheckMortality<T> {
/// utility constructor. Used only in client/factory code.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment