```
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 [[https://github.com/bitcoin/bitcoin/pull/24934 | core#24934]].
Depends on D12954.