From f71c88bb5ea584faec6fbc39a2c651b43c0a3060 Mon Sep 17 00:00:00 2001
From: Benjamin Wenger <ben@elixxir.ioo>
Date: Mon, 8 Feb 2021 11:33:15 -0800
Subject: [PATCH] made tracker use getUpdateID

---
 network/ephemeral/tracker.go | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/network/ephemeral/tracker.go b/network/ephemeral/tracker.go
index 24c5b27da..d9b4d029f 100644
--- a/network/ephemeral/tracker.go
+++ b/network/ephemeral/tracker.go
@@ -60,14 +60,8 @@ func track(session *storage.Session, instance *network.Instance, ourId *id.ID, s
 	for true {
 		now := time.Now()
 
-		// Pull out the round information
-		ri, err := instance.GetRound(instance.GetLastRoundID())
-		if err != nil {
-			globals.Log.FATAL.Panicf("Could not pull round information: %v", err)
-		}
-
 		// Generates the IDs since the last track
-		protoIds, err := ephemeral.GetIdsByRange(ourId, uint(ri.AddressSpaceSize),
+		protoIds, err := ephemeral.GetIdsByRange(ourId, session.Reception().GetIDSize(),
 			now.UnixNano(), now.Sub(lastCheck))
 
 		if err != nil {
-- 
GitLab