Browse Source

Silence warnings.

master
Con Kolivas 8 years ago
parent
commit
78023e16e3
  1. 3
      src/stratifier.c

3
src/stratifier.c

@ -1638,8 +1638,6 @@ static bool rebuild_txns(ckpool_t *ckp, sdata_t *sdata, workbase_t *wb)
sdata->wbincomplete = true; sdata->wbincomplete = true;
if (ckp->proxy) if (ckp->proxy)
LOGWARNING("Unable to rebuild transactions to create workinfo, ignore displayed hashrate"); LOGWARNING("Unable to rebuild transactions to create workinfo, ignore displayed hashrate");
else
LOGWARNING("Unable to rebuild txns from remote workinfo, may be unable to submit block locally");
} }
LOGNOTICE("Failed to find all txns in rebuild_txns"); LOGNOTICE("Failed to find all txns in rebuild_txns");
request_txns(ckp, sdata, missing_txns); request_txns(ckp, sdata, missing_txns);
@ -1695,6 +1693,7 @@ static void check_incomplete_wbs(ckpool_t *ckp, sdata_t *sdata)
LOGNOTICE("%d remote workinfo still incomplete", incomplete); LOGNOTICE("%d remote workinfo still incomplete", incomplete);
else { else {
sdata->wbincomplete = false; sdata->wbincomplete = false;
if (ckp->proxy)
LOGWARNING("Successfully resumed rebuilding transactions into workinfo"); LOGWARNING("Successfully resumed rebuilding transactions into workinfo");
} }
} }

Loading…
Cancel
Save