1
0
Fork 0
mirror of https://github.com/bitcoin/bips.git synced 2025-03-04 03:03:53 +01:00

fix gentestvectors.go

This commit is contained in:
Ocenka 2025-02-28 15:27:47 +00:00 committed by GitHub
parent 24b4354e64
commit 6cbe26685a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
// 5 blocks and collision space sizes of 1-32 bits. Change the RPC cert path // 5 blocks and collision space sizes of 1-32 bits. Change the RPC cert path
// and credentials to run on your system. The program assumes you're running // and credentials to run on your system. The program assumes you're running
// a btcd with cfilter support, which mainline btcd doesn't have; in order to // a btcd with cfilter support, which mainline btcd doesn't have; in order to
// circumvent this assumption, comment out the if block that checks for // circumvent this assumption, comment out the if block that checks the
// filter size of DefaultP. // filter size of DefaultP.
package main package main
@ -193,7 +193,7 @@ func main() {
block, err := client.GetBlock(blockHash) block, err := client.GetBlock(blockHash)
if err != nil { if err != nil {
fmt.Println("Couldn't get block hash: ", err.Error()) fmt.Println("Couldn't get block data: ", err.Error())
return return
} }