mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 15:22:16 +00:00
Store a transaction in the Peer if we've seen it before.
This commit is contained in:
parent
5126745e01
commit
ca0407f91a
@ -379,8 +379,8 @@ public class Peer {
|
|||||||
tx.getConfidence().markBroadcastBy(address);
|
tx.getConfidence().markBroadcastBy(address);
|
||||||
} else {
|
} else {
|
||||||
log.debug("Provided with a downloaded transaction we didn't see broadcast yet: {}", tx.getHash());
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user