diff --git a/chain.go b/chain.go index 4e396ce7..ff487ed4 100644 --- a/chain.go +++ b/chain.go @@ -173,7 +173,7 @@ func (b *BlockChain) DisableVerify(disable bool) { // // This function is NOT safe for concurrent access. func (b *BlockChain) HaveBlock(hash *btcwire.ShaHash) bool { - return b.IsKnownOrphan(hash) && b.blockExists(hash) + return b.IsKnownOrphan(hash) || b.blockExists(hash) } // IsKnownOrphan returns whether the passed hash is currently a known orphan.