diff --git a/mempool.go b/mempool.go index 31a2e752..50246d2a 100644 --- a/mempool.go +++ b/mempool.go @@ -426,7 +426,7 @@ func (mp *txMemPool) IsOrphanInPool(hash *btcwire.ShaHash) bool { mp.lock.RLock() defer mp.lock.RUnlock() - if _, exists := mp.pool[*hash]; exists { + if _, exists := mp.orphans[*hash]; exists { return true }