From a7a42e3b2cc6b6a6c42210d2b9dee85ba703d8f2 Mon Sep 17 00:00:00 2001 From: "Richard T. Carback III" <rick.carback@gmail.com> Date: Fri, 11 Sep 2020 16:28:11 +0000 Subject: [PATCH] Updates to make go test work again --- network/send.go | 4 ++-- network/updates.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/network/send.go b/network/send.go index 70e6171a5..cb8e376ff 100644 --- a/network/send.go +++ b/network/send.go @@ -72,8 +72,8 @@ func (m *Manager) sendCMIX(msg format.Message, param params.CMIX) (id.Round, err remainingTime := param.Timeout - elapsed //find the best round to send to, excluding roudn which have been attempted - //bestRound, _ := m.instance.GetWaitingRounds().GetUpcomingRealtime(remainingTime, attempted) - bestRound, _ := m.instance.GetWaitingRounds().GetUpcomingRealtime(remainingTime) + bestRound, _ := m.instance.GetWaitingRounds().GetUpcomingRealtime(remainingTime, attempted) + //bestRound, _ := m.instance.GetWaitingRounds().GetUpcomingRealtime(remainingTime) topology, firstNode := buildToplogy(bestRound.Topology) //get they keys for the round, reject if any nodes do not have diff --git a/network/updates.go b/network/updates.go index 8f7fed1db..cdd2f8e91 100644 --- a/network/updates.go +++ b/network/updates.go @@ -21,7 +21,7 @@ import ( "gitlab.com/elixxir/client/context" "gitlab.com/elixxir/client/context/stoppable" "gitlab.com/elixxir/comms/network" - "time" + // "time" ) // GetUpdates polls the network for updates. -- GitLab