Skip to content

Commit a6ab1e8

Browse files
committed
[net] Remove unnecessary default args on OpenNetworkConnection
1 parent 8d6ff46 commit a6ab1e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ class CConnman
209209
bool GetNetworkActive() const { return fNetworkActive; };
210210
bool GetUseAddrmanOutgoing() const { return m_use_addrman_outgoing; };
211211
void SetNetworkActive(bool active);
212-
void OpenNetworkConnection(const CAddress& addrConnect, bool fCountFailure, CSemaphoreGrant *grantOutbound = nullptr, const char *strDest = nullptr, ConnectionType conn_type = ConnectionType::OUTBOUND_FULL_RELAY);
212+
void OpenNetworkConnection(const CAddress& addrConnect, bool fCountFailure, CSemaphoreGrant* grantOutbound, const char* strDest, ConnectionType conn_type);
213213
bool CheckIncomingNonce(uint64_t nonce);
214214

215215
bool ForNode(NodeId id, std::function<bool(CNode* pnode)> func);

0 commit comments

Comments
 (0)