diff --git a/core/src/main/java/com/google/bitcoin/kits/WalletAppKit.java b/core/src/main/java/com/google/bitcoin/kits/WalletAppKit.java index bba1326b..bf9c7a0b 100644 --- a/core/src/main/java/com/google/bitcoin/kits/WalletAppKit.java +++ b/core/src/main/java/com/google/bitcoin/kits/WalletAppKit.java @@ -252,6 +252,7 @@ public class WalletAppKit extends AbstractIdleService { // before we're actually connected the broadcast waits for an appropriate number of connections. if (peerAddresses != null) { for (PeerAddress addr : peerAddresses) vPeerGroup.addAddress(addr); + vPeerGroup.setMaxConnections(peerAddresses.length); peerAddresses = null; } else { vPeerGroup.addPeerDiscovery(new DnsDiscovery(params));