mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-30 23:02:15 +00:00
Remove temp announcement listener in PeerGroup.broadcastTransaction once done.
This commit is contained in:
parent
425126689e
commit
7eae91ea47
@ -946,6 +946,7 @@ public class PeerGroup {
|
||||
// We're done! Run this outside of the peer group lock as setting the future may immediately
|
||||
// invoke any listeners associated with it and it's simpler if the PeerGroup isn't locked.
|
||||
log.info("broadcastTransaction: {} complete", pinnedTx.getHashAsString());
|
||||
tx.getConfidence().removeEventListener(this);
|
||||
future.set(pinnedTx);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user