소스 검색

dnet: fix KeyError due to misnamed variable

lunar-mining 2 년 전
부모
커밋
6f3b4a715b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bin/dnet/view.py

+ 1 - 1
bin/dnet/view.py

@@ -278,5 +278,5 @@ class View():
                                 continue
                                 continue
                             if id in known_outbound:
                             if id in known_outbound:
                                 continue
                                 continue
-                            logging.debug(f"Outbound {key} came online.")
+                            logging.debug(f"Outbound {i}, {addr} came online.")
                             refresh = True
                             refresh = True