Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[0.22] Initialize base params on FEC benchmarking
The FEC logic computes the memory-mapped FEC chunk storage filename using gArgs.GetDataDirNet(). The latter, in turn, calls ArgsManager::GetDataDir, which uses "BaseParams().DataDir()". But BaseParams() needs globalChainBaseParams to be initialized, and that can only hold if SelectParams() has been called before. This seems to be required now, perhaps due to changes related to Bitcoin Core PR bitcoin#21005.
- Loading branch information