File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -253,10 +253,6 @@ class GetinfoRequestHandler: public BaseRequestHandler
253
253
}
254
254
result.pushKV (" version" , batch[ID_NETWORKINFO][" result" ][" version" ]);
255
255
result.pushKV (" protocolversion" , batch[ID_NETWORKINFO][" result" ][" protocolversion" ]);
256
- if (!batch[ID_WALLETINFO].isNull ()) {
257
- result.pushKV (" walletversion" , batch[ID_WALLETINFO][" result" ][" walletversion" ]);
258
- result.pushKV (" balance" , batch[ID_WALLETINFO][" result" ][" balance" ]);
259
- }
260
256
result.pushKV (" blocks" , batch[ID_BLOCKCHAININFO][" result" ][" blocks" ]);
261
257
result.pushKV (" timeoffset" , batch[ID_NETWORKINFO][" result" ][" timeoffset" ]);
262
258
result.pushKV (" connections" , batch[ID_NETWORKINFO][" result" ][" connections" ]);
Original file line number Diff line number Diff line change @@ -57,16 +57,14 @@ def run_test(self):
57
57
58
58
assert_equal (cli_get_info ['version' ], network_info ['version' ])
59
59
assert_equal (cli_get_info ['protocolversion' ], network_info ['protocolversion' ])
60
- if self .is_wallet_compiled ():
61
- assert_equal (cli_get_info ['walletversion' ], wallet_info ['walletversion' ])
62
- assert_equal (cli_get_info ['balance' ], wallet_info ['balance' ])
63
60
assert_equal (cli_get_info ['blocks' ], blockchain_info ['blocks' ])
64
61
assert_equal (cli_get_info ['timeoffset' ], network_info ['timeoffset' ])
65
62
assert_equal (cli_get_info ['connections' ], network_info ['connections' ])
66
63
assert_equal (cli_get_info ['proxy' ], network_info ['networks' ][0 ]['proxy' ])
67
64
assert_equal (cli_get_info ['difficulty' ], blockchain_info ['difficulty' ])
68
65
assert_equal (cli_get_info ['testnet' ], blockchain_info ['chain' ] == "test" )
69
66
if self .is_wallet_compiled ():
67
+ assert_equal (cli_get_info ['walletversion' ], wallet_info ['walletversion' ])
70
68
assert_equal (cli_get_info ['balance' ], wallet_info ['balance' ])
71
69
assert_equal (cli_get_info ['keypoololdest' ], wallet_info ['keypoololdest' ])
72
70
assert_equal (cli_get_info ['keypoolsize' ], wallet_info ['keypoolsize' ])
You can’t perform that action at this time.
0 commit comments