diff --git a/silkaj/commands.py b/silkaj/commands.py index fc8d0305b96398909b7fac4c799f905707222cc3..6daed61f7c17cdc3cbc12e895d1291fd43212101 100644 --- a/silkaj/commands.py +++ b/silkaj/commands.py @@ -188,9 +188,9 @@ async def network_info(discover, sort): ] client = ClientInstance().client diffi = await client(blockchain.difficulties) - i, members = 0, 0 + members = 0 print("Getting informations about nodes:") - for info in infos: + for i, info in enumerate(infos): ep = info api = "BASIC_MERKLED_API " if ep["port"] != "443" else "BMAS " api += ep.get("domain") + " " if ep["domain"] else ""