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() }