Page MenuHomePhabricator

[validation] Remove unused first_invalid parameter from ProcessNewBlockHeaders()
ClosedPublic

Authored by jasonbcox on Jul 9 2020, 16:59.

Details

Summary

No callers use the returned value in first_invalid. Remove it from the
function signature and don't set it in the function.

Partial backport of Core PR15921 : https://github.com/bitcoin/bitcoin/pull/15921/commits/c428622a5bb1e37b2e6ab2c52791ac05d9271238

Depends on D6873 only to be lint-free.

Test Plan

ninja check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Jul 9 2020, 19:08