mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-27 14:12:32 +02:00
[rpc] Remove deprecated "banscore" field from getpeerinfo
This commit is contained in:
@@ -874,7 +874,6 @@ bool PeerManager::GetNodeStateStats(NodeId nodeid, CNodeStateStats &stats) {
|
||||
|
||||
PeerRef peer = GetPeerRef(nodeid);
|
||||
if (peer == nullptr) return false;
|
||||
stats.m_misbehavior_score = WITH_LOCK(peer->m_misbehavior_mutex, return peer->m_misbehavior_score);
|
||||
stats.m_starting_height = peer->m_starting_height;
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user