From 80592318621a5fa39d81d27d88d92d622a449b00 Mon Sep 17 00:00:00 2001 From: Aryan Singh Date: Fri, 25 Sep 2026 19:01:15 -0500 Subject: [PATCH] Update peer.py --- MP2/peer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MP2/peer.py b/MP2/peer.py index 8c102d2..ec8b720 100644 --- a/MP2/peer.py +++ b/MP2/peer.py @@ -13,7 +13,7 @@ INTRODUCER_FLAG = (INTRODUCER_IP == IP) #check if this VM is the introducer and add it self members_list = {} if INTRODUCER_FLAG: - members_list[(IP, PORT)] = { + members_list[(IP, SERVER_PORT)] = { "heart_beat": 1, "last_seen": utc_time() }