fix transaction dialog for p2pk input

This commit is contained in:
SomberNight 2018-03-13 06:22:38 +01:00
parent a6841cbd5f
commit 1f1ce26211

View file

@ -289,7 +289,7 @@ class TxDialog(QDialog, MessageBoxMixin):
cursor.insertText(prevout_hash[-8:] + ":%-4d " % prevout_n, ext) cursor.insertText(prevout_hash[-8:] + ":%-4d " % prevout_n, ext)
addr = x.get('address') addr = x.get('address')
if addr == "(pubkey)": if addr == "(pubkey)":
_addr = self.wallet.find_pay_to_pubkey_address(prevout_hash, prevout_n) _addr = self.wallet.get_txin_address(x)
if _addr: if _addr:
addr = _addr addr = _addr
if addr is None: if addr is None: