tw: minor cleanups

This commit is contained in:
The MMGen Project 2025-05-26 09:39:11 +00:00
commit 1ac8638565
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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):

View file

@ -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',