Skip to content

Commit b485579

Browse files
committed
cherry-picked AlreadyHave fix
1 parent c07a0da commit b485579

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

divi/src/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2775,8 +2775,7 @@ bool static AlreadyHave(const CInv& inv)
27752775
case MSG_TX: {
27762776
bool txInMap = false;
27772777
txInMap = mempool.exists(inv.hash);
2778-
return txInMap || OrphanTransactionIsKnown(inv.hash) ||
2779-
pcoinsTip->HaveCoins(inv.hash);
2778+
return txInMap || OrphanTransactionIsKnown(inv.hash);
27802779
}
27812780

27822781
case MSG_BLOCK:

0 commit comments

Comments
 (0)