diff options
author | nicolas.dorier <nicolas.dorier@gmail.com> | 2019-06-21 11:42:04 +0900 |
---|---|---|
committer | nicolas.dorier <nicolas.dorier@gmail.com> | 2019-08-11 11:33:28 +0900 |
commit | d541fa391844f658bd7035659b5b16695733dd56 (patch) | |
tree | 655966a9b458e463187e6bd9abad30e5c43bbaba /src/rpc/net.cpp | |
parent | ecd5cf7ea4c3644a30092100ffc399e30e193275 (diff) | |
download | bitcoin-d541fa391844f658bd7035659b5b16695733dd56.tar.xz |
Replace the use of fWhitelisted by permission checks
Diffstat (limited to 'src/rpc/net.cpp')
-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 196e69066b..25dda924a4 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -178,7 +178,7 @@ static UniValue getpeerinfo(const JSONRPCRequest& request) } obj.pushKV("inflight", heights); } - obj.pushKV("whitelisted", stats.fWhitelisted); + obj.pushKV("whitelisted", stats.m_legacyWhitelisted); UniValue permissions(UniValue::VARR); for (const auto& permission : NetPermissions::ToStrings(stats.m_permissionFlags)) { permissions.push_back(permission); |