support BCH transaction display with multiple TX files
This commit is contained in:
parent
673da14a9f
commit
8847af9410
1 changed files with 2 additions and 2 deletions
|
|
@ -131,9 +131,9 @@ class TxInfo(TxInfo):
|
|||
|
||||
tx = self.tx
|
||||
|
||||
if self.cfg._proto.coin == 'BCH':
|
||||
if tx.proto.coin == 'BCH':
|
||||
have_bch = True
|
||||
vp1 = 1 if not self.cfg.cashaddr else not self.cfg._proto.cashaddr
|
||||
vp1 = 1 if not getattr(self.cfg, 'cashaddr', None) else not tx.proto.cashaddr
|
||||
vp2 = (vp1 + 1) % 2
|
||||
else:
|
||||
have_bch = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue