mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-06 18:53:21 +01:00
Merge #15564: cli: remove duplicate wallet fields from -getinfo
3f6568d66b cli: remove duplicate wallet fields from -getinfo (fanquake)
Pull request description:
`walletversion` and `balance` are both included below.
Tree-SHA512: cd9fe9739a2f492c8f7c0407b43a6fa95187f7e5318f05e080bac112f9f4333d2e9b84c505d098f8d66fa79439007d1c0b22e5a87d70bf5ea53ab647ee4c2046
This commit is contained in:
@@ -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"]);
|
||||
|
||||
Reference in New Issue
Block a user