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 authored and furszy committed Nov 22, 2021
1 parent 729c63d commit 71667df
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1958,9 +1958,8 @@ bool AppInitMain()
connOptions.vWhitelistedRange.emplace_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 71667df

Please sign in to comment.