1
0

get_tx_info: fix types

This commit is contained in:
ThomasV
2016-06-09 18:09:45 +02:00
parent 60756e2ef9
commit 9896718f09
3 changed files with 5 additions and 4 deletions

View File

@@ -606,7 +606,7 @@ class Abstract_Wallet(PrintError):
exp_n = None
can_broadcast = False
can_bump = False
label = None
label = ''
height = conf = timestamp = None
if tx.is_complete():
tx_hash = tx.hash()
@@ -633,7 +633,7 @@ class Abstract_Wallet(PrintError):
else:
s, r = tx.signature_count()
status = _("Unsigned") if s == 0 else _('Partially signed') + ' (%d/%d)'%(s,r)
tx_hash = _('Unknown')
tx_hash = None
if is_relevant:
if is_mine: