Skip to content

Commit

Permalink
call pow-start script when work received
Browse files Browse the repository at this point in the history
  • Loading branch information
deepgully committed Jan 25, 2019
1 parent ce97090 commit 6565b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpoolprotocols/getwork/EthGetworkClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ void EthGetworkClient::processResponse(Json::Value& JRes)
zilSecsToNextPoW = JPrm.get(Json::Value::ArrayIndex(4), 0).asUInt();

// check if it's the first work in PoW window
if ((zilPowRuning || zilSecsToNextPoW == 0) && !m_zil_pow_running)
if (zilPowRuning && !m_zil_pow_running)
{
m_zil_pow_running = true;
cnote << "ZIL PoW Window Start";
Expand Down

0 comments on commit 6565b2f

Please sign in to comment.