mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-13 12:33:40 +02:00
Fix context menu for bech32 addresses in tx history tab
This commit is contained in:
parent
cc23100edd
commit
8ec948ec1d
1 changed files with 1 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue