diff --git a/lib/network.py b/lib/network.py index 456b365b5..b9eff6f7d 100644 --- a/lib/network.py +++ b/lib/network.py @@ -318,7 +318,7 @@ class Network(threading.Thread): def new_blockchain_height(self, blockchain_height, i): if self.is_connected(): if self.server_is_lagging(): - print_error( "Server is lagging", blockchain_height, h) + print_error( "Server is lagging", blockchain_height, self.get_server_height()) if self.config.get('auto_cycle'): self.set_server(i.server)