Browse Source

Merge #413: Fix context menu for bech32 addresses in tx history tab

8ec948e Fix context menu for bech32 addresses in tx history tab (Kristaps Kaupe)
master
AdamISZ 6 years ago
parent
commit
d421aea919
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 6
      scripts/joinmarket-qt.py

6
scripts/joinmarket-qt.py

@ -985,11 +985,7 @@ class TxHistoryTab(QWidget):
address_valid = False
if item:
address = str(item.text(0))
try:
btc.b58check_to_hex(address)
address_valid = True
except AssertionError:
log.debug('no btc address found, not creating menu item')
address_valid = validate_address(address)
menu = QMenu()
if address_valid:

Loading…
Cancel
Save