mirror of
https://github.com/bitcoin/bips.git
synced 2025-03-03 18:57:18 +01:00
fix gentestvectors.go
This commit is contained in:
parent
24b4354e64
commit
6cbe26685a
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
// 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
|
||||
// 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.
|
||||
|
||||
package main
|
||||
|
@ -193,7 +193,7 @@ func main() {
|
|||
|
||||
block, err := client.GetBlock(blockHash)
|
||||
if err != nil {
|
||||
fmt.Println("Couldn't get block hash: ", err.Error())
|
||||
fmt.Println("Couldn't get block data: ", err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue