mirror of
https://github.com/bitcoin/bips.git
synced 2025-12-29 14:48:45 +00:00
Merge pull request #2057 from maradini77/patch-2
BIP158, refactor: remove duplicate conditional
This commit is contained in:
commit
fc00f51c22
@ -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++
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user