Skip to content

Commit

Permalink
fix: make transaction and event commitments non optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahakShama committed Jun 30, 2024
1 parent 61467b1 commit 61a3ba9
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: Option<usize>,
#[serde(skip_serializing)]
Expand Down

0 comments on commit 61a3ba9

Please sign in to comment.