Skip to content

Commit 2017931

Browse files
maradini77oren-z0
authored andcommitted
Update gentestvectors.go
1 parent 04b448b commit 2017931

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bip-0158/gentestvectors.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,10 @@ func main() {
290290
fmt.Println("Error writing test case to output: ", err.Error())
291291
return
292292
}
293-
}
294-
295-
prevBasicHeader = basicHeader
296293

297-
if uint32(height) == testBlockHeights[testBlockIndex].height {
298294
testBlockIndex++
299295
}
296+
297+
prevBasicHeader = basicHeader
300298
}
301299
}

0 commit comments

Comments
 (0)