mirror of
https://github.com/bitcoin/bips.git
synced 2026-11-09 19:47:16 +00:00
Merge pull request #2057 from maradini77/patch-2
BIP158, refactor: remove duplicate conditional
This commit is contained in:
1 file changed
+2
-4
@@ -290,12 +290,10 @@ func main() {
|
||||
fmt.Println("Error writing test case to output: ", err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
testBlockIndex++
|
||||
}
|
||||
|
||||
prevBasicHeader = basicHeader
|
||||
|
||||
if uint32(height) == testBlockHeights[testBlockIndex].height {
|
||||
testBlockIndex++
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user