@@ -199,10 +199,10 @@ UniValue getmininginfo(const JSONRPCRequest& request)
199
199
" \" currentblockweight\" : nnn, (numeric) The last block weight\n "
200
200
" \" currentblocktx\" : nnn, (numeric) The last block transaction\n "
201
201
" \" difficulty\" : xxx.xxxxx (numeric) The current difficulty\n "
202
- " \" errors\" : \" ...\" (string) Current errors\n "
203
202
" \" networkhashps\" : nnn, (numeric) The network hashes per second\n "
204
203
" \" pooledtx\" : n (numeric) The size of the mempool\n "
205
204
" \" chain\" : \" xxxx\" , (string) current network name as defined in BIP70 (main, test, regtest)\n "
205
+ " \" errors\" : \" ...\" (string) (string) any network and blockchain warnings\n "
206
206
" }\n "
207
207
" \n Examples:\n "
208
208
+ HelpExampleCli (" getmininginfo" , " " )
@@ -217,10 +217,10 @@ UniValue getmininginfo(const JSONRPCRequest& request)
217
217
obj.push_back (Pair (" currentblockweight" , (uint64_t )nLastBlockWeight));
218
218
obj.push_back (Pair (" currentblocktx" , (uint64_t )nLastBlockTx));
219
219
obj.push_back (Pair (" difficulty" , (double )GetDifficulty ()));
220
- obj.push_back (Pair (" errors" , GetWarnings (" statusbar" )));
221
220
obj.push_back (Pair (" networkhashps" , getnetworkhashps (request)));
222
221
obj.push_back (Pair (" pooledtx" , (uint64_t )mempool.size ()));
223
222
obj.push_back (Pair (" chain" , Params ().NetworkIDString ()));
223
+ obj.push_back (Pair (" errors" , GetWarnings (" statusbar" )));
224
224
return obj;
225
225
}
226
226
0 commit comments