From 2a8122ffde45ea47ed8178ebb8779c28b3b55fd0 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 11 Oct 2013 15:46:24 -0500 Subject: [PATCH] Actually check orphan pool for IsOrphanInPool. --- mempool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }