aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarko Bencun <marko.bencun@monetas.net>2017-09-11 16:13:52 +0200
committerMarko Bencun <marko.bencun@monetas.net>2017-09-11 16:17:47 +0200
commit35e5c2269c9a9dc71e4141d15837683d5b3363a1 (patch)
treea31867cb41e2462ada6eaccee7a746eef0d0c9c9 /src
parent605918272cd806d0ee77a391d00360b925a5fab3 (diff)
remove unused IsArgSet check
Forgotten in 506b700dcb5dd5a7c1d8ffa7c77043a93e4e10de
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index c611c07e4e..25a415109a 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1687,9 +1687,8 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
connOptions.vWhitelistedRange.push_back(subnet);
}
- if (gArgs.IsArgSet("-seednode")) {
- connOptions.vSeedNodes = gArgs.GetArgs("-seednode");
- }
+ connOptions.vSeedNodes = gArgs.GetArgs("-seednode");
+
// Initiate outbound connections unless connect=0
connOptions.m_use_addrman_outgoing = !gArgs.IsArgSet("-connect");
if (!connOptions.m_use_addrman_outgoing) {