forked from Qortal/qortal
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…
Reference in New Issue
Block a user