mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 19:06:51 +00:00
indexers: Remove unused func.
This commit is contained in:
parent
e9b2b4854f
commit
d1be5fec67
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user