Skip to content

Commit

Permalink
Merge pull request #102 from Chia-Network/rolled-back-records
Browse files Browse the repository at this point in the history
Make fork height and rolled back records optionals
  • Loading branch information
cmmarslender authored Jan 10, 2024
2 parents a2c7d39 + fbaaa48 commit f725206
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 f725206

Please sign in to comment.