Skip to content

Commit d1d270a

Browse files
refactor: remove redundant Number field from ProcessedBlock
BlockInfo.Number already carries the block number. The top-level Number field on ProcessedBlock was never read and duplicated the same value set by the parser. Signed-off-by: Farooq Azam Wasim <Farooq.Azm.Wasim-CIC.Netherlands@ibm.com>
1 parent 5776dcf commit d1d270a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/types/types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ type ParsedBlockData struct {
1818

1919
// ProcessedBlock wraps parsed block data with metadata for persistence.
2020
type ProcessedBlock struct {
21-
Number uint64
2221
Txns int
2322
Data any
2423
BlockInfo *BlockInfo

0 commit comments

Comments
 (0)