Skip to content

Commit

Permalink
Merge branch 'master' into merge-mining
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Feb 3, 2024
2 parents 159b54e + a92ca02 commit 2660d9d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/p2pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ p2pool::p2pool(int argc, char* argv[])
LOGINFO(1, log::LightCyan() << VERSION);

Params* p = new Params(argc, argv);

if (!p->valid()) {
LOGERR(1, "Invalid or missing command line. Try \"p2pool --help\".");
delete p;
throw std::exception();
}

m_params = p;

#ifdef WITH_UPNP
Expand Down

0 comments on commit 2660d9d

Please sign in to comment.