electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1d9311aeefb9f9b4d76d72b792d784fb9f024bfd
parent d13995309a35e246a2c5ccb8d16ecbca40812a1b
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed, 27 Jan 2021 20:43:00 +0100

qt network dialog: show protocol (if ":t") for servers in NodesList

Diffstat:
Melectrum/gui/qt/network_dialog.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/gui/qt/network_dialog.py b/electrum/gui/qt/network_dialog.py @@ -148,7 +148,7 @@ class NodesListWidget(QTreeWidget): x = connected_servers_item for i in interfaces: star = ' *' if i == network.interface else '' - item = QTreeWidgetItem([f"{i.server.net_addr_str()}" + star, '%d'%i.tip]) + item = QTreeWidgetItem([f"{i.server.to_friendly_name()}" + star, '%d'%i.tip]) item.setData(0, self.ITEMTYPE_ROLE, self.ItemType.CONNECTED_SERVER) item.setData(0, self.SERVER_ADDR_ROLE, i.server) item.setToolTip(0, str(i.server))