From 6d6677b7976267bbf2860a3e4c1328f56d3a0a10 Mon Sep 17 00:00:00 2001 From: pedro martelletto Date: Wed, 18 Jan 2017 09:12:37 +0000 Subject: [PATCH] zap errCFEntry --- blockchain/indexers/cfindex.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/blockchain/indexers/cfindex.go b/blockchain/indexers/cfindex.go index 80563cba..0de88cc7 100644 --- a/blockchain/indexers/cfindex.go +++ b/blockchain/indexers/cfindex.go @@ -6,7 +6,6 @@ package indexers import ( "encoding/binary" - "errors" "fmt" "github.com/btcsuite/btcd/blockchain" @@ -27,10 +26,6 @@ var ( // cfIndexKey is the name of the db bucket used to house the // block hash -> CF index. 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,