mirror of https://github.com/bitcoin/bitcoin
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 https://github.com/bitcoin/bitcoin/issues/18372pull/18376/head
parent
ce87d5613a
commit
7d8e1dec3b
Loading…
Reference in new issue