Skip to content

Commit 35e5c22

Browse files
author
Marko Bencun
committed
remove unused IsArgSet check
Forgotten in 506b700
1 parent 6059182 commit 35e5c22

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/init.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,9 +1687,8 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
16871687
connOptions.vWhitelistedRange.push_back(subnet);
16881688
}
16891689

1690-
if (gArgs.IsArgSet("-seednode")) {
1691-
connOptions.vSeedNodes = gArgs.GetArgs("-seednode");
1692-
}
1690+
connOptions.vSeedNodes = gArgs.GetArgs("-seednode");
1691+
16931692
// Initiate outbound connections unless connect=0
16941693
connOptions.m_use_addrman_outgoing = !gArgs.IsArgSet("-connect");
16951694
if (!connOptions.m_use_addrman_outgoing) {

0 commit comments

Comments
 (0)