aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2020-07-29 18:43:28 -0700
committerAmiti Uttarwar <amiti@uttarwar.org>2020-08-07 17:18:17 -0700
commit01e283068b9e6214f2d77a2f772a4244ebfe2274 (patch)
tree0181b0ba189aa52ba3f28bcfbe3b47eb888f65a3 /src/net.h
parentbc5d65b3ca41eebb1738fdda4451d1466e77772e (diff)
downloadbitcoin-01e283068b9e6214f2d77a2f772a4244ebfe2274.tar.xz
[net] Remove unnecessary default args on CNode constructor
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 444a1ceed2..af14ba7f51 100644
--- a/src/net.h
+++ b/src/net.h
@@ -917,7 +917,7 @@ public:
std::set<uint256> orphan_work_set;
- CNode(NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, SOCKET hSocketIn, const CAddress &addrIn, uint64_t nKeyedNetGroupIn, uint64_t nLocalHostNonceIn, const CAddress &addrBindIn, const std::string &addrNameIn = "", ConnectionType conn_type_in = ConnectionType::OUTBOUND);
+ CNode(NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, SOCKET hSocketIn, const CAddress &addrIn, uint64_t nKeyedNetGroupIn, uint64_t nLocalHostNonceIn, const CAddress &addrBindIn, const std::string &addrNameIn, ConnectionType conn_type_in);
~CNode();
CNode(const CNode&) = delete;
CNode& operator=(const CNode&) = delete;