Explorar o código

FIX: fix wrong flag usage of rateGateCredentialsReceived

Shawn %!s(int64=3) %!d(string=hai) anos
pai
achega
ae93cccde6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      node/Peer.hpp

+ 1 - 1
node/Peer.hpp

@@ -391,7 +391,7 @@ public:
 			++_credentialsCutoffCount;
 		else _credentialsCutoffCount = 0;
 		_lastCredentialsReceived = now;
-		return (_directPathPushCutoffCount < ZT_PEER_CREDEITIALS_CUTOFF_LIMIT);
+		return (_credentialsCutoffCount < ZT_PEER_CREDEITIALS_CUTOFF_LIMIT);
 	}
 
 	/**