indexers: Remove unused func.

This commit is contained in:
Dave Collins 2019-03-30 22:42:45 -05:00
parent e9b2b4854f
commit d1be5fec67
No known key found for this signature in database
GPG Key ID: B8904D9D9C93D1F2

View File

@ -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.