mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-12 18:25:49 +00:00
Send network broadcasts over all handshake-completed peers.
Previously we preferred the outbound connection but actually this leaves our info about inbound connection peers out of date. Synchronizer still prefers outbound.
This commit is contained in:
parent
1046f72e7b
commit
c917191df2
@ -717,7 +717,7 @@ public class Network extends Thread {
|
||||
}
|
||||
|
||||
try {
|
||||
peerExecutor.execute(new Broadcaster(this.getUniqueHandshakedPeers(), peerMessage));
|
||||
peerExecutor.execute(new Broadcaster(this.getHandshakedPeers(), peerMessage));
|
||||
} catch (RejectedExecutionException e) {
|
||||
// Can't execute - probably because we're shutting down, so ignore
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user