diff options
author | John Newbery <john@johnnewbery.com> | 2020-06-16 16:27:34 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2020-08-12 11:23:22 +0100 |
commit | 8e35bf59062b3a823182588e0bf809b3367c2be0 (patch) | |
tree | 07137095012ce1b833c1c5d468188d4a5c48ebb7 /src/rpc | |
parent | 1f96d2e673a78220eebf3bbd15b121c51c4cd97b (diff) |
scripted-diff: rename misbehavior members
-BEGIN VERIFY SCRIPT-
sed -i 's/nMisbehavior/m_misbehavior_score/g' src/net_processing.cpp src/net_processing.h src/rpc/net.cpp src/qt/rpcconsole.cpp
-END VERIFY SCRIPT-
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 09265bc480..653baa9530 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -193,7 +193,7 @@ static UniValue getpeerinfo(const JSONRPCRequest& request) if (fStateStats) { if (IsDeprecatedRPCEnabled("banscore")) { // banscore is deprecated in v0.21 for removal in v0.22 - obj.pushKV("banscore", statestats.nMisbehavior); + obj.pushKV("banscore", statestats.m_misbehavior_score); } obj.pushKV("synced_headers", statestats.nSyncHeight); obj.pushKV("synced_blocks", statestats.nCommonHeight); |