We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a26b1 commit 3d05d33Copy full SHA for 3d05d33
src/bitcoin-cli.cpp
@@ -265,7 +265,7 @@ class GetinfoRequestHandler: public BaseRequestHandler
265
result.pushKV("proxy", batch[ID_NETWORKINFO]["result"]["networks"][0]["proxy"]);
266
result.pushKV("difficulty", batch[ID_BLOCKCHAININFO]["result"]["difficulty"]);
267
result.pushKV("chain", UniValue(batch[ID_BLOCKCHAININFO]["result"]["chain"]));
268
- if (!batch[ID_WALLETINFO].isNull()) {
+ if (!batch[ID_WALLETINFO]["result"].isNull()) {
269
result.pushKV("walletversion", batch[ID_WALLETINFO]["result"]["walletversion"]);
270
result.pushKV("balance", batch[ID_WALLETINFO]["result"]["balance"]);
271
result.pushKV("keypoololdest", batch[ID_WALLETINFO]["result"]["keypoololdest"]);
0 commit comments