[rpc] Remove deprecated "banscore" field from getpeerinfo

This commit is contained in:
Amiti Uttarwar
2020-12-22 16:54:18 -08:00
parent 537053336f
commit 094c3beaa4
5 changed files with 0 additions and 35 deletions

View File

@@ -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;