Skip to content

Commit

Permalink
add elasticsearch feature to block serialize
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed May 17, 2023
1 parent 0190882 commit f3bcb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra-chain/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub use arbitrary::LedgerState;

/// A Zcash block, containing a header and a list of transactions.
#[derive(Clone, Debug, Eq, PartialEq)]
#[cfg_attr(any(test, feature = "proptest-impl"), derive(Serialize))]
#[cfg_attr(any(test, feature = "proptest-impl", feature = "elasticsearch"), derive(Serialize))]
pub struct Block {
/// The block header, containing block metadata.
pub header: Arc<Header>,
Expand Down

0 comments on commit f3bcb68

Please sign in to comment.