diff options
| author | fanquake <[email protected]> | 2019-03-09 15:54:49 +0800 |
|---|---|---|
| committer | fanquake <[email protected]> | 2019-03-09 16:40:46 +0800 |
| commit | 3f6568d66b42bd151b26df3bd84c64959bbe3fc9 (patch) | |
| tree | 9fb19da504b49c2a78123e1c687adcdf53ec5b85 /src/bitcoin-cli.cpp | |
| parent | Merge #15549: gitian: Improve error handling (diff) | |
| download | discoin-3f6568d66b42bd151b26df3bd84c64959bbe3fc9.tar.xz discoin-3f6568d66b42bd151b26df3bd84c64959bbe3fc9.zip | |
cli: remove duplicate wallet fields from -getinfo
Diffstat (limited to 'src/bitcoin-cli.cpp')
| -rw-r--r-- | src/bitcoin-cli.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index b0e1f67d9..306badbb3 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -253,10 +253,6 @@ public: } result.pushKV("version", batch[ID_NETWORKINFO]["result"]["version"]); result.pushKV("protocolversion", batch[ID_NETWORKINFO]["result"]["protocolversion"]); - if (!batch[ID_WALLETINFO].isNull()) { - result.pushKV("walletversion", batch[ID_WALLETINFO]["result"]["walletversion"]); - result.pushKV("balance", batch[ID_WALLETINFO]["result"]["balance"]); - } result.pushKV("blocks", batch[ID_BLOCKCHAININFO]["result"]["blocks"]); result.pushKV("timeoffset", batch[ID_NETWORKINFO]["result"]["timeoffset"]); result.pushKV("connections", batch[ID_NETWORKINFO]["result"]["connections"]); |