From b378f5dcd761b5ad76469708c98bf923ec1d7896 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 1 Feb 2017 13:20:51 -0800 Subject: Take 3 --- node/Cluster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node/Cluster.cpp') diff --git a/node/Cluster.cpp b/node/Cluster.cpp index ef09e842..75a9f29b 100644 --- a/node/Cluster.cpp +++ b/node/Cluster.cpp @@ -516,10 +516,10 @@ void Cluster::broadcastNetworkConfigChunk(const void *chunk,unsigned int len) } } -int Cluster::prepSendViaCluster(const Address &toPeerAddress,void *peerSecret) +int Cluster::prepSendViaCluster(const Address &toPeerAddress,uint64_t &mostRecentTs,void *peerSecret) { const uint64_t now = RR->node->now(); - uint64_t mostRecentTs = 0; + mostRecentTs = 0; int mostRecentMemberId = -1; { Mutex::Lock _l2(_remotePeers_m); -- cgit v1.2.3