aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2020-08-10 12:21:07 -0700
committerAmiti Uttarwar <amiti@uttarwar.org>2020-09-02 13:36:29 -0700
commita6ab1e81f964df131cfa0e11e07bedb3283b823f (patch)
tree6ec889f0bea4709055d51bf3620732a3f48bbe79 /src/net.h
parent8d6ff46f55f373e344278ab3f1ac27b1dba36623 (diff)
downloadbitcoin-a6ab1e81f964df131cfa0e11e07bedb3283b823f.tar.xz
[net] Remove unnecessary default args on OpenNetworkConnection
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 40d5f5e47d..81c960cc9c 100644
--- a/src/net.h
+++ b/src/net.h
@@ -209,7 +209,7 @@ public:
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<bool(CNode* pnode)> func);