Move a use of statestats in getpeerinfo to within the section guarded by if (fStateStats), e.g. PeerManagerImpl::GetNodeStateStats true, and pass an in-param by reference to const.
This is a backport of core#22616
Differential D13348
p2p, rpc: address relay fixups PiRK on Mar 16 2023, 08:51. Authored by Tags None Subscribers None
Details
Move a use of statestats in getpeerinfo to within the section guarded by if (fStateStats), e.g. PeerManagerImpl::GetNodeStateStats true, and pass an in-param by reference to const. This is a backport of core#22616 ninja all check-all
Diff Detail
|