Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In PeerLogicValidation::PeerLogicValidation() we would schedule a lambda function to execute later, capturing the local variable `consensusParams` by reference. Presumably this was considered safe because `consensusParams` is a reference itself to a global variable which is not supposed to change, but it can in tests. Fixes #18372
- Loading branch information