Skip to content

Commit

Permalink
Default the field values of CheckTx/DeliverTx
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabaluev committed Oct 13, 2022
1 parent d566fe7 commit dc1f3fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tendermint/src/abci/response/check_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use crate::serializers;

#[doc = include_str!("../doc/response-checktx.md")]
#[derive(Clone, PartialEq, Eq, Debug, Default, Serialize, Deserialize)]
#[serde(default)]
pub struct CheckTx {
/// The response code.
///
Expand Down
1 change: 1 addition & 0 deletions tendermint/src/abci/response/deliver_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use crate::serializers;

#[doc = include_str!("../doc/response-delivertx.md")]
#[derive(Clone, PartialEq, Eq, Debug, Default, Serialize, Deserialize)]
#[serde(default)]
pub struct DeliverTx {
/// The response code.
///
Expand Down

0 comments on commit dc1f3fb

Please sign in to comment.