Skip to content

Commit

Permalink
[extrinsic-params] remove unnecessary metadata-hash field
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Jun 27, 2024
1 parent 7e5ce0a commit eddca35
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions primitives/src/extrinsics/extrinsic_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ pub struct GenericAdditionalParams<Tip, Hash> {
era: Era,
mortality_checkpoint: Option<Hash>,
tip: Tip,
metadata_hash: Option<H256>,
}

impl<Tip: Default, Hash> GenericAdditionalParams<Tip, Hash> {
Expand Down Expand Up @@ -145,12 +144,7 @@ impl<Tip: Default, Hash> GenericAdditionalParams<Tip, Hash> {

impl<Tip: Default, Hash> Default for GenericAdditionalParams<Tip, Hash> {
fn default() -> Self {
Self {
era: Era::Immortal,
mortality_checkpoint: None,
tip: Tip::default(),
metadata_hash: None,
}
Self { era: Era::Immortal, mortality_checkpoint: None, tip: Tip::default() }
}
}

Expand Down

0 comments on commit eddca35

Please sign in to comment.