fix for gtk gui

This commit is contained in:
ThomasV 2014-08-01 17:23:24 +02:00
parent b93cde14e7
commit 5d1e229f05
1 changed files with 2 additions and 1 deletions

View File

@ -1107,7 +1107,8 @@ class ElectrumWindow:
if self.funds_error:
text = "Not enough funds"
elif self.network.is_connected():
host, port, _,_,_ = network.get_parameters()
host, port, _,_,_ = self.network.get_parameters()
port = int(port)
height = self.network.get_local_height()
self.network_button.set_tooltip_text("Connected to %s:%d.\n%d blocks"%(host, port, height))
if not self.wallet.up_to_date: