Fix bug when determining NextLevel in GPN
This commit is contained in:
1 parent
ad38a7ccb1
commit
7655ffefd9
1 file changed
+2
-3
+2
-3
@@ -528,9 +528,8 @@ generateRpcRequest = (sessionData) ->
|
||||
|
||||
nextLevel = true
|
||||
if pair[0].length >= GET_PARAMETER_NAMES_DEPTH_THRESHOLD
|
||||
nextLevel = false
|
||||
else if common.hammingWeight(pair[1] >> 3) >= 3
|
||||
nextLevel = false
|
||||
if common.hammingWeight(pair[1] >> 3) >= 3
|
||||
nextLevel = false
|
||||
|
||||
if syncState.refreshGpn.size > 1 or (pair[1] > 1 and nextLevel)
|
||||
completed = false
|
||||
|
||||
Reference in new issue
Block a user