Skip to content

Commit

Permalink
remove unused IsArgSet check
Browse files Browse the repository at this point in the history
Forgotten in 506b700
  • Loading branch information
Marko Bencun committed Sep 11, 2017
1 parent 6059182 commit 35e5c22
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/init.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 35e5c22

Please sign in to comment.