Actually check orphan pool for IsOrphanInPool.

This commit is contained in:
Dave Collins 2013-10-11 15:46:24 -05:00
parent 6368d5b170
commit 2a8122ffde

View file

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