diff --git a/src/net.h b/src/net.h --- a/src/net.h +++ b/src/net.h @@ -253,10 +253,9 @@ bool GetNetworkActive() const { return fNetworkActive; }; bool GetUseAddrmanOutgoing() const { return m_use_addrman_outgoing; }; void SetNetworkActive(bool active); - void OpenNetworkConnection( - const CAddress &addrConnect, bool fCountFailure, - CSemaphoreGrant *grantOutbound = nullptr, const char *strDest = nullptr, - ConnectionType conn_type = ConnectionType::OUTBOUND_FULL_RELAY); + void OpenNetworkConnection(const CAddress &addrConnect, bool fCountFailure, + CSemaphoreGrant *grantOutbound, + const char *strDest, ConnectionType conn_type); bool CheckIncomingNonce(uint64_t nonce); bool ForNode(NodeId id, std::function func);