Skip to content

Commit

Permalink
chore(consensus): always log node_id in consensus module
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Aug 8, 2024
1 parent ffbf8bd commit cc55430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func makeNode(
blockSync := !onlyValidatorIsUs(state, proTxHash) // TODO compare with this: blockSync := cfg.BlockSync.Enable && !weAreOnlyValidator
waitSync := stateSync || blockSync

csState, err := consensus.NewState(logger.With("module", "consensus"),
csState, err := consensus.NewState(logger.With("module", "consensus", "node_id", nodeKey.ID),
cfg.Consensus,
stateStore,
blockExec,
Expand Down

0 comments on commit cc55430

Please sign in to comment.