Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin/bitcoin#30980: fuzz: fix bug in p2p_headers_presync har…
…ness a7498cc Fix bug in p2p_headers_presync harness (marcofleon) Pull request description: The calculation for the test chain's work (`total_work`) should be outside of the loop. Previously, `total_work` was being miscalculated due to multiple additions of work from the same headers. Now, each header's work is only counted once, providing an accurate total. bitcoin/bitcoin#30918 followup ACKs for top commit: dergoegge: utACK a7498cc instagibbs: ACK a7498cc glozow: makes sense, utACK a7498cc mzumsande: ACK bitcoin/bitcoin@a7498cc Tree-SHA512: b95f25dcf7ace220e30f1d72f50d85ee18777467927c0cc1ed8582b390cb7185ffc0e2f127309eb083044fb41f5a13fce5ebb15b7952718a899bafff26921be8
- Loading branch information