Skip to content

Commit

Permalink
add the round to the header info
Browse files Browse the repository at this point in the history
  • Loading branch information
AdoAdoAdo committed Jan 9, 2025
1 parent b7d1990 commit 2211c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/sync/baseForkDetector.go
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ func (bfd *baseForkDetector) processReceivedProof(proof data.HeaderProofHandler)
hInfo := &headerInfo{
epoch: proof.GetHeaderEpoch(),
nonce: proof.GetHeaderNonce(),
round: 0, // TODO: add the round on the proof as well
round: proof.GetHeaderRound(),
hash: proof.GetHeaderHash(),
state: process.BHReceived,
hasProof: true,
Expand Down

0 comments on commit 2211c74

Please sign in to comment.