mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-23 14:10:15 +01:00
Expose integral m_conn_type in CNodeStats, remove m_conn_type_string
This commit is contained in:
@@ -249,7 +249,7 @@ static RPCHelpMan getpeerinfo()
|
||||
recvPerMsgCmd.pushKV(i.first, i.second);
|
||||
}
|
||||
obj.pushKV("bytesrecv_per_msg", recvPerMsgCmd);
|
||||
obj.pushKV("connection_type", stats.m_conn_type_string);
|
||||
obj.pushKV("connection_type", ConnectionTypeAsString(stats.m_conn_type));
|
||||
|
||||
ret.push_back(obj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user