Page MenuHomePhabricator

reduce code duplication in UpdateFlags
ClosedPublic

Authored by markblundeberg on Dec 11 2019, 21:37.

Diff Detail

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

Event Timeline

src/validation.cpp
3176 ↗(On Diff #14785)

The idea of having pindexBase here strikes me as odd... but I suppose this is done as some kind of optimization -- it's faster to reject due to nonchanging f(status) than it is to call GetAncestor.

This revision is now accepted and ready to land.Dec 13 2019, 02:38