From 1ac86385650c7be9b0d8db4ed5ebd1ef31995b44 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Mon, 26 May 2025 09:39:11 +0000 Subject: [PATCH] tw: minor cleanups --- mmgen/proto/btc/tw/txhistory.py | 1 + mmgen/proto/eth/tw/unspent.py | 1 - mmgen/tw/unspent.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mmgen/proto/btc/tw/txhistory.py b/mmgen/proto/btc/tw/txhistory.py index 830e2774..1af5c524 100755 --- a/mmgen/proto/btc/tw/txhistory.py +++ b/mmgen/proto/btc/tw/txhistory.py @@ -13,6 +13,7 @@ proto.btc.tw.txhistory: Bitcoin base protocol tracking wallet transaction histor """ from collections import namedtuple + from ....tw.txhistory import TwTxHistory from ....tw.shared import get_tw_label, TwMMGenID from ....addr import CoinAddr diff --git a/mmgen/proto/eth/tw/unspent.py b/mmgen/proto/eth/tw/unspent.py index 6f77e961..173c393a 100755 --- a/mmgen/proto/eth/tw/unspent.py +++ b/mmgen/proto/eth/tw/unspent.py @@ -34,7 +34,6 @@ class EthereumTwUnspentOutputs(EthereumTwView, TwUnspentOutputs): hdr_lbl = 'tracked accounts' desc = 'account balances' item_desc = 'account' - dump_fn_pfx = 'balances' item_desc_pl = 'accounts' def get_column_widths(self, data, *, wide, interactive): diff --git a/mmgen/tw/unspent.py b/mmgen/tw/unspent.py index 6f9beb44..5c020d81 100755 --- a/mmgen/tw/unspent.py +++ b/mmgen/tw/unspent.py @@ -47,6 +47,7 @@ class TwUnspentOutputs(TwView): update_widths_on_age_toggle = False print_output_types = ('detail',) mod_subpath = 'tw.unspent' + dump_fn_pfx = 'balances' prompt_fs_in = [ 'Sort options: [a]mount, a[d]dr, [M]mgen addr, [r]everse', 'Display options: show [m]mgen addr, r[e]draw screen',