diff --git a/src/block.rs b/src/block.rs index fda0b28..b84b854 100644 --- a/src/block.rs +++ b/src/block.rs @@ -66,9 +66,9 @@ pub struct BlockHeader { #[serde(skip_serializing)] pub state_diff_length: Option, #[serde(skip_serializing)] - pub transaction_commitment: Option, + pub transaction_commitment: TransactionCommitment, #[serde(skip_serializing)] - pub event_commitment: Option, + pub event_commitment: EventCommitment, #[serde(skip_serializing)] pub n_transactions: usize, #[serde(skip_serializing)]