Browse Source

tw: minor cleanups

The MMGen Project 7 months ago
parent
commit
1ac8638565
3 changed files with 2 additions and 1 deletions
  1. 1 0
      mmgen/proto/btc/tw/txhistory.py
  2. 0 1
      mmgen/proto/eth/tw/unspent.py
  3. 1 0
      mmgen/tw/unspent.py

+ 1 - 0
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

+ 0 - 1
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):

+ 1 - 0
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',