Page MenuHomePhabricator

cli: fix -getinfo output when compiled with no wallet
ClosedPublic

Authored by PiRK on Nov 4 2020, 08:57.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABCdffe4818c3e3: cli: fix -getinfo output when compiled with no wallet
Summary

Remove null wallet related fields in the output of -getinfo when compiled with no wallet.

This is a backport of Core PR17368

Test Plan
cmake .. -GNinja -DBUILD_BITCOIN_WALLET=OFF
ninja
src/bitcoind
src/bitcoin-cli -getinfo

The ouput does not show wallet specific fields, such as walletversion, balance, etc

Diff Detail

Event Timeline

Owners added a reviewer: Restricted Owners Package.Nov 4 2020, 08:57
PiRK requested review of this revision.Nov 4 2020, 08:57
Fabien requested changes to this revision.Nov 4 2020, 16:54
Fabien added a subscriber: Fabien.

If the test plan was good, the issue won't have been inserted

This revision now requires changes to proceed.Nov 4 2020, 16:54
PiRK requested review of this revision.Nov 4 2020, 17:08
PiRK edited the test plan for this revision. (Show Details)

Test plan updated.

This revision is now accepted and ready to land.Nov 4 2020, 18:56