bkpr: listbalances, skip the external account
it's essentialy meaningless
This commit is contained in:
parent
791c1a7526
commit
f767e41755
|
@ -207,6 +207,11 @@ static struct command_result *json_list_balances(struct command *cmd,
|
|||
" for account %s: %s",
|
||||
accts[i]->name, err);
|
||||
|
||||
/* Skip the external acct balance, it's effectively
|
||||
* meaningless */
|
||||
if (streq(accts[i]->name, EXTERNAL_ACCT))
|
||||
continue;
|
||||
|
||||
/* Add it to the result data */
|
||||
json_object_start(res, NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue