Browse Source

fix transaction dialog for p2pk input

3.2.x
SomberNight 7 years ago
parent
commit
1f1ce26211
  1. 2
      gui/qt/transaction_dialog.py

2
gui/qt/transaction_dialog.py

@ -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:

Loading…
Cancel
Save