Skip to content

Commit

Permalink
Update testgen/src/header.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Mikhail Zabaluev <[email protected]>
  • Loading branch information
Farhad-Shabani and mzabaluev authored Sep 12, 2023
1 parent ca72270 commit c621426
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions testgen/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,7 @@ mod app_hash_serde {
where
S: Serializer,
{
if value.is_none() {
serializer.serialize_none()
} else {
tendermint::serializers::apphash::serialize(value.as_ref().unwrap(), serializer)
}
tendermint::serializers::apphash::serialize(value.as_ref().unwrap(), serializer)
}
}

Expand Down

0 comments on commit c621426

Please sign in to comment.