Page MenuHomePhabricator

cli: use GetWalletBalances() functionality for -getinfo
ClosedPublic

Authored by PiRK on Wed, Feb 17, 14:42.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC984a96569bcf: cli: use GetWalletBalances() functionality for -getinfo
Summary

and replace GetBoolArg with IsArgSet as we only want
to know if the arg is passed; we do not need the value.

This is a backport of Core PR18594 [4/6]
https://github.com/bitcoin/bitcoin/pull/18594/commits/afce85eb994384246e455b766549c3206cb059e0

Depends on D9239

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.