mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Simplify hasSufficientPeersForBroadcast method
This commit is contained in:
parent
c6691c91a1
commit
a64359024e
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ public class WalletsSetup {
|
|||
}
|
||||
|
||||
public boolean hasSufficientPeersForBroadcast() {
|
||||
return bisqEnvironment.isBitcoinLocalhostNodeRunning() ? true : numPeers.get() >= walletConfig.getMinBroadcastConnections();
|
||||
return bisqEnvironment.isBitcoinLocalhostNodeRunning() || numPeers.get() >= walletConfig.getMinBroadcastConnections();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue