Skip to content
This repository was archived by the owner on Oct 21, 2019. It is now read-only.

Commit acae2c9

Browse files
author
nicehashdev
committed
build fix Genoil#3
1 parent 1fa5abf commit acae2c9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

libstratum/EthStratumClient.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,10 @@ void EthStratumClient::processReponse(Json::Value& responseObject)
421421
{
422422
params = responseObject.get("params", Json::Value::null);
423423
if (params.isArray())
424-
processExtranonce(params.get((Json::Value::ArrayIndex)0, "").asString());
424+
{
425+
std::string enonce = params.get((Json::Value::ArrayIndex)0, "").asString();
426+
processExtranonce(enonce);
427+
}
425428
}
426429
else if (method == "client.get_version")
427430
{

0 commit comments

Comments
 (0)