zap errCFEntry
This commit is contained in:
parent
92c8ec4094
commit
6d6677b797
1 changed files with 0 additions and 5 deletions
|
@ -6,7 +6,6 @@ package indexers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"errors"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/btcsuite/btcd/blockchain"
|
"github.com/btcsuite/btcd/blockchain"
|
||||||
|
@ -27,10 +26,6 @@ var (
|
||||||
// cfIndexKey is the name of the db bucket used to house the
|
// cfIndexKey is the name of the db bucket used to house the
|
||||||
// block hash -> CF index.
|
// block hash -> CF index.
|
||||||
cfIndexKey = []byte("cfbyhashidx")
|
cfIndexKey = []byte("cfbyhashidx")
|
||||||
|
|
||||||
// errNoCFEntry is an error that indicates a requested entry does
|
|
||||||
// not exist in the CF index.
|
|
||||||
errCFEntry = errors.New("no entry in the block ID index")
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func dbFetchCFIndexEntry(dbTx database.Tx, blockHash *chainhash.Hash) ([]byte,
|
func dbFetchCFIndexEntry(dbTx database.Tx, blockHash *chainhash.Hash) ([]byte,
|
||||||
|
|
Loading…
Add table
Reference in a new issue