Use NBytes() instead of Bytes() in CFIndex
This commit is contained in:
parent
0c08ba2786
commit
ba7b5f3308
1 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ func makeBasicFilterForBlock(block *btcutil.Block) ([]byte, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return f.Bytes(), nil
|
||||
return f.NBytes(), nil
|
||||
}
|
||||
|
||||
// makeExtendedFilterForBlock builds a block's extended filter, which consists
|
||||
|
@ -199,7 +199,7 @@ func makeExtendedFilterForBlock(block *btcutil.Block) ([]byte, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return f.Bytes(), nil
|
||||
return f.NBytes(), nil
|
||||
}
|
||||
|
||||
// makeHeaderForFilter implements the chaining logic between filters, where
|
||||
|
|
Loading…
Reference in a new issue