Print P2Pool version

This commit is contained in:
SChernykh
2021-10-02 17:06:48 +02:00
parent 2a3cd13b19
commit 7d66864b01
4 changed files with 22 additions and 1 deletions
+2
View File
@@ -50,6 +50,8 @@ p2pool::p2pool(int argc, char* argv[])
, m_updateSeed(true)
, m_submitBlockData{}
{
LOGINFO(1, log::LightCyan() << VERSION);
if (!m_params->m_wallet.valid()) {
LOGERR(1, "Invalid wallet address. Try \"p2pool --help\".");
panic();