Rename a variable in CBF's ConnectBlock()
This commit is contained in:
parent
620ad5b6fb
commit
05d2fdeb11
1 changed files with 2 additions and 2 deletions
|
@ -108,8 +108,8 @@ func (idx *CBFIndex) ConnectBlock(dbTx database.Tx, block *btcutil.Block, view *
|
||||||
}
|
}
|
||||||
|
|
||||||
meta := dbTx.Metadata()
|
meta := dbTx.Metadata()
|
||||||
hashIndex := meta.Bucket(cbfIndexKey)
|
index := meta.Bucket(cbfIndexKey)
|
||||||
err = hashIndex.Put(block.Hash().CloneBytes(), filter.Bytes())
|
err = index.Put(block.Hash().CloneBytes(), filter.Bytes())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue