Actually check orphan pool for IsOrphanInPool.
This commit is contained in:
parent
6368d5b170
commit
2a8122ffde
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue