Skip to content

Commit

Permalink
Make fork height and rolled back records optionals
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Jan 10, 2024
1 parent a2c7d39 commit fbaaa48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/types/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ type BlockEvent struct {
TransactionBlock bool `json:"transaction_block"`
KSize uint8 `json:"k_size"`
HeaderHash Bytes32 `json:"header_hash"`
ForkHeight uint32 `json:"fork_height"`
RolledBackRecords uint64 `json:"rolled_back_records"`
ForkHeight mo.Option[uint32] `json:"fork_height"`
RolledBackRecords mo.Option[uint64] `json:"rolled_back_records"`
Height uint32 `json:"height"`
ValidationTime float64 `json:"validation_time"`
PreValidationTime float64 `json:"pre_validation_time"`
Expand Down

0 comments on commit fbaaa48

Please sign in to comment.