Fixed pool algos for 2nd contructor

This commit is contained in:
MoneroOcean 2019-02-21 19:14:39 -08:00
parent e845a402aa
commit 43f09e915e

View file

@ -121,6 +121,7 @@ xmrig::Pool::Pool(const char *url) :
xmrig::Pool::Pool(const rapidjson::Value &object) :
m_algorithms(all_algorithms()),
m_enabled(true),
m_nicehash(false),
m_tls(false),
@ -159,6 +160,7 @@ xmrig::Pool::Pool(const rapidjson::Value &object) :
xmrig::Pool::Pool(const char *host, uint16_t port, const char *user, const char *password, int keepAlive, bool nicehash, bool tls) :
m_algorithms(all_algorithms()),
m_nicehash(nicehash),
m_tls(tls),
m_keepAlive(keepAlive),