handle adds is None in tx dialog

This commit is contained in:
ThomasV 2015-05-02 16:17:50 +02:00
parent bbaacef960
commit 6527eae32b
1 changed files with 2 additions and 0 deletions

View File

@ -230,6 +230,8 @@ class TxDialog(QDialog):
_addr = self.wallet.find_pay_to_pubkey_address(prevout_hash, prevout_n)
if _addr:
addr = _addr
if addr is None:
addr = _('unknown')
cursor.insertText(addr, own if self.wallet.is_mine(addr) else ext)
cursor.insertBlock()