From da499f56727a5bbf5854e0a0beb378d259b7c2ca Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Mon, 15 Aug 2022 16:59:25 +0000 Subject: [PATCH] `mmgen-tool listaddresses`: bugfix --- mmgen/tool/rpc.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mmgen/tool/rpc.py b/mmgen/tool/rpc.py index ea8e2c85..f9cb17d1 100755 --- a/mmgen/tool/rpc.py +++ b/mmgen/tool/rpc.py @@ -58,14 +58,14 @@ class tool_cmd(tool_cmd_base): age_fmt = age_fmt ) async def listaddresses(self, - mmgen_addrs: 'hyphenated range or comma-separated list of addresses' = '', - minconf: 'minimum number of confirmations' = 1, - pager: 'send output to pager' = False, - showbtcaddr: 'display coin addresses in addition to MMGen IDs' = True, - showempty: 'show addresses with no balances' = True, - all_labels: 'show all addresses with labels' = False, - age_fmt: 'format for the Age/Date column ' + options_annot_str(TwCommon.age_fmts) = 'confs', - sort: 'address sort order ' + options_annot_str(['reverse','age']) = '' ): + mmgen_addrs: 'hyphenated range or comma-separated list of addresses' = '', + minconf: 'minimum number of confirmations' = 1, + pager: 'send output to pager' = False, + showbtcaddrs: 'display coin addresses in addition to MMGen IDs' = True, + showempty: 'show addresses with no balances' = True, + all_labels: 'show all addresses with labels' = False, + age_fmt: 'format for the Age/Date column ' + options_annot_str(TwCommon.age_fmts) = 'confs', + sort: 'address sort order ' + options_annot_str(['reverse','age']) = '' ): "list MMGen addresses in the tracking wallet and their balances" show_age = bool(age_fmt)