Skip to content

Commit

Permalink
fix: make transaction and event commitments non optional (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahakShama authored Jul 1, 2024
1 parent f76fe54 commit 0e6987e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ pub struct BlockHeader {
#[serde(skip_serializing)]
pub state_diff_length: Option<usize>,
#[serde(skip_serializing)]
pub transaction_commitment: Option<TransactionCommitment>,
pub transaction_commitment: TransactionCommitment,
#[serde(skip_serializing)]
pub event_commitment: Option<EventCommitment>,
pub event_commitment: EventCommitment,
#[serde(skip_serializing)]
pub n_transactions: usize,
#[serde(skip_serializing)]
Expand Down

0 comments on commit 0e6987e

Please sign in to comment.