From d1be5fec67cf5268d4ea9e8564fbdc324067b7e5 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sat, 30 Mar 2019 22:42:45 -0500 Subject: [PATCH] indexers: Remove unused func. --- blockchain/indexers/common.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/blockchain/indexers/common.go b/blockchain/indexers/common.go index f465fdbf..2baa18e0 100644 --- a/blockchain/indexers/common.go +++ b/blockchain/indexers/common.go @@ -105,14 +105,6 @@ type internalBucket interface { Delete(key []byte) error } -// approvesParent returns whether or not the vote bits in the header of the -// passed block indicate the regular transaction tree of the parent block should -// be considered valid. -func approvesParent(block *dcrutil.Block) bool { - return dcrutil.IsFlagSet16(block.MsgBlock().Header.VoteBits, - dcrutil.BlockValid) -} - // interruptRequested returns true when the provided channel has been closed. // This simplifies early shutdown slightly since the caller can just use an if // statement instead of a select.