File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ UniValue getmininginfo(const JSONRPCRequest& request)
201
201
" \" pooledtx\" : n (numeric) The size of the mempool\n "
202
202
" \" chain\" : \" xxxx\" , (string) current network name as defined in BIP70 (main, test, regtest)\n "
203
203
" \" warnings\" : \" ...\" (string) any network and blockchain warnings\n "
204
- " \" errors\" : \" ...\" (string) DEPRECATED. Same as warnings. Only shown when bitcoind is started with -deprecatedrpc=getmininginfo\n "
205
204
" }\n "
206
205
" \n Examples:\n "
207
206
+ HelpExampleCli (" getmininginfo" , " " )
@@ -219,11 +218,7 @@ UniValue getmininginfo(const JSONRPCRequest& request)
219
218
obj.push_back (Pair (" networkhashps" , getnetworkhashps (request)));
220
219
obj.push_back (Pair (" pooledtx" , (uint64_t )mempool.size ()));
221
220
obj.push_back (Pair (" chain" , Params ().NetworkIDString ()));
222
- if (IsDeprecatedRPCEnabled (" getmininginfo" )) {
223
- obj.push_back (Pair (" errors" , GetWarnings (" statusbar" )));
224
- } else {
225
- obj.push_back (Pair (" warnings" , GetWarnings (" statusbar" )));
226
- }
221
+ obj.push_back (Pair (" warnings" , GetWarnings (" statusbar" )));
227
222
return obj;
228
223
}
229
224
You can’t perform that action at this time.
0 commit comments