Skip to content

Commit

Permalink
Make the expected number of hashes a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
gagliardetto committed Nov 13, 2023
1 parent a6813a4 commit 8d682be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -678,8 +678,8 @@ func checkCar(

mustNumHashesPerEpoch := uint64(345_600_000_000)
if numHashes.Load() != mustNumHashesPerEpoch {
return fmt.Errorf(
"PoH error: wrong number of hashes for epoch %d: expected %d, got %d",
klog.Warningf(
"PoH warning: wrong number of hashes for epoch %d: expected %d, got %d",
epochNum,
mustNumHashesPerEpoch,
numHashes.Load(),
Expand Down

0 comments on commit 8d682be

Please sign in to comment.