From 76059ea2302f18c0e6e4a02a14e5606108e025e3 Mon Sep 17 00:00:00 2001 From: maradini77 <140460067+maradini77@users.noreply.github.com> Date: Sun, 14 Dec 2025 17:54:59 +0100 Subject: [PATCH] Update gentestvectors.go --- bip-0158/gentestvectors.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bip-0158/gentestvectors.go b/bip-0158/gentestvectors.go index bf6d9a741e..686217f9fd 100644 --- a/bip-0158/gentestvectors.go +++ b/bip-0158/gentestvectors.go @@ -290,12 +290,10 @@ func main() { fmt.Println("Error writing test case to output: ", err.Error()) return } - } - - prevBasicHeader = basicHeader - if uint32(height) == testBlockHeights[testBlockIndex].height { testBlockIndex++ } + + prevBasicHeader = basicHeader } }