mirror of
https://github.com/bitcoin/bips.git
synced 2026-03-23 16:05:41 +00:00
Merge pull request #2057 from maradini77/patch-2
BIP158, refactor: remove duplicate conditional
This commit is contained in:
@@ -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