3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 07:12:17 +00:00

Store a transaction in the Peer if we've seen it before.

This commit is contained in:
Mike Hearn 2011-12-19 23:37:36 +01:00 committed by Miron Cuperman
parent 5126745e01
commit ca0407f91a

View File

@ -379,8 +379,8 @@ public class Peer {
tx.getConfidence().markBroadcastBy(address);
} else {
log.debug("Provided with a downloaded transaction we didn't see broadcast yet: {}", tx.getHash());
announcedTransactionHashes.put(tx.getHash(), tx);
}
announcedTransactionHashes.put(tx.getHash(), tx);
}
}