From e5bc33a6d6267ec320ddf4ae3511fc4590e4ec1b Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Mon, 8 Dec 2025 14:57:32 +0000 Subject: [PATCH] update for MMGen Wallet v16.1.dev21 --- mmgen_node_tools/main_addrbal.py | 4 ++-- setup.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mmgen_node_tools/main_addrbal.py b/mmgen_node_tools/main_addrbal.py index 4647029..743b36e 100755 --- a/mmgen_node_tools/main_addrbal.py +++ b/mmgen_node_tools/main_addrbal.py @@ -44,7 +44,7 @@ def do_output(proto, addr_data, blk_hdrs): heights = {u['height'] for u in unspents} Msg('{}Balance: {}'.format( indent, - sum(proto.coin_amt(u['amount']) for u in unspents).hl2(unit=True, fs='{:,}'))), + sum(proto.coin_amt(u['amount']) for u in unspents).hl3(unit=True, fs='{:,}'))), Msg('{}{} unspent output{} in {} block{}'.format( indent, red(str(len(unspents))), @@ -148,7 +148,7 @@ async def main(req_addrs): good_addrs = len([v for v in addr_data.values() if v]) Msg('Total: {} in {} address{}'.format( - proto.coin_amt(res['total_amount']).hl2(unit=True, fs='{:,}'), + proto.coin_amt(res['total_amount']).hl3(unit=True, fs='{:,}'), red(str(good_addrs)), suf(good_addrs, 'es'))) diff --git a/setup.cfg b/setup.cfg index d48a8c8..91b63b2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,7 +37,7 @@ python_requires = >=3.11 include_package_data = True install_requires = - mmgen-wallet>=16.1.dev4 + mmgen-wallet>=16.1.dev21 pyyaml yahooquery