From d97fd1ca760261c20d763c140a3a416ebb15bc57 Mon Sep 17 00:00:00 2001 From: Pasta Date: Thu, 25 Jul 2019 11:20:48 -0500 Subject: [PATCH] state that getinfo will be deprecated in a future version Signed-off-by: Pasta --- src/rpc/misc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 1ee189f42..29da7022c 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -58,7 +58,7 @@ UniValue getinfo(const JSONRPCRequest& request) "\nDEPRECATED. Returns an object containing various state info.\n" "\nResult:\n" "{\n" - " \"deprecation-warning\": \"...\" (string) warning that the getinfo command is deprecated and will be removed in 0.16\n" + " \"deprecation-warning\": \"...\" (string) warning that the getinfo command is deprecated and will be removed in a future version\n" " \"version\": xxxxx, (numeric) the server version\n" " \"protocolversion\": xxxxx, (numeric) the protocol version\n" " \"walletversion\": xxxxx, (numeric) the wallet version\n" @@ -94,8 +94,8 @@ UniValue getinfo(const JSONRPCRequest& request) GetProxy(NET_IPV4, proxy); UniValue obj(UniValue::VOBJ); - obj.push_back(Pair("deprecation-warning", "WARNING: getinfo is deprecated and will be fully removed in 0.16." - " Projects should transition to using getblockchaininfo, getnetworkinfo, and getwalletinfo before upgrading to 0.16")); + obj.push_back(Pair("deprecation-warning", "WARNING: getinfo is deprecated and will be fully removed in a future version." + " Projects should transition to using getblockchaininfo, getnetworkinfo, and getwalletinfo.")); obj.push_back(Pair("version", CLIENT_VERSION)); obj.push_back(Pair("protocolversion", PROTOCOL_VERSION)); #ifdef ENABLE_WALLET