Page MenuHomePhabricator

refactor, miner: Delete call to UpdatePackagesForAdded at beginning of addPackageTxs
ClosedPublic

Authored by Fabien on Jan 5 2023, 20:31.

Details

Summary
In CreateNewBlock (in miner.cpp), inBlock is cleared before addPackageTxs, so inBlock will be empty in the first call to UpdatePackagesForAdded

Since this is the only callsite, there is no change in behavior.

Backport of core#24934.

Depends on D12954.

Test Plan
ninja all check-all