From cad02e4d66cd8033cf02b1c36a633e9bae7784cc Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Tue, 9 Jan 2024 10:32:59 -0600 Subject: [PATCH] Add fork height to block event --- pkg/types/block.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/types/block.go b/pkg/types/block.go index 19c9b92..631aa0d 100644 --- a/pkg/types/block.go +++ b/pkg/types/block.go @@ -118,6 +118,7 @@ type BlockEvent struct { TransactionBlock bool `json:"transaction_block"` KSize uint8 `json:"k_size"` HeaderHash Bytes32 `json:"header_hash"` + ForkHeight uint32 `json:"fork_height"` Height uint32 `json:"height"` ValidationTime float64 `json:"validation_time"` PreValidationTime float64 `json:"pre_validation_time"`