1
0
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:
Jon Atack 2025-12-26 07:24:58 -08:00 committed by GitHub
commit fc00f51c22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -290,12 +290,10 @@ func main() {
fmt.Println("Error writing test case to output: ", err.Error()) fmt.Println("Error writing test case to output: ", err.Error())
return return
} }
testBlockIndex++
} }
prevBasicHeader = basicHeader prevBasicHeader = basicHeader
if uint32(height) == testBlockHeights[testBlockIndex].height {
testBlockIndex++
}
} }
} }