replace blockchain.height with height(), and fix server_lag issue
[electrum-nvc.git] / gui / qt / network_dialog.py
index 4545fd5..7b09a81 100644 (file)
@@ -45,7 +45,7 @@ class NetworkDialog(QDialog):
         if parent:
             n = len(network.interfaces)
             if n:
-                status = _("Blockchain") + ": " + "%d "%(network.blockchain.height) + _("blocks") +  ".\n" + _("Getting block headers from %d nodes.")%n
+                status = _("Blockchain") + ": " + "%d "%(network.blockchain.height()) + _("blocks") +  ".\n" + _("Getting block headers from %d nodes.")%n
             else:
                 status = _("Not connected")