Skip to content

Commit

Permalink
tools: add logger to MergedBlocksWriter to avoid panic
Browse files Browse the repository at this point in the history
  • Loading branch information
colindickson committed Aug 29, 2024
1 parent 6b32cc0 commit fdacdcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/tools/mergeblock/tools_upgrade_merged_blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func getMergedBlockUpgrader(tweakFunc func(block *pbbstream.Block) (*pbbstream.B
LowBlockNum: firecore.LowBoundary(start),
StopBlockNum: stop,
TweakBlock: tweakFunc,
Logger: rootLog,
}
stream := stream.New(nil, sourceStore, nil, int64(start), writer, stream.WithFinalBlocksOnly())

Expand Down

0 comments on commit fdacdcf

Please sign in to comment.