Fix bug when determining NextLevel in GPN

This commit is contained in:
Zaid Abdulla committed 2016-09-06 02:46:16 -07:00
1 parent ad38a7ccb1
commit 7655ffefd9
1 file changed
+1 -2
+1 -2
View File
@@ -528,8 +528,7 @@ generateRpcRequest = (sessionData) ->
nextLevel = true
if pair[0].length >= GET_PARAMETER_NAMES_DEPTH_THRESHOLD
nextLevel = false
else if common.hammingWeight(pair[1] >> 3) >= 3
if common.hammingWeight(pair[1] >> 3) >= 3
nextLevel = false
if syncState.refreshGpn.size > 1 or (pair[1] > 1 and nextLevel)