From 78023e16e32f0ec4e002f298505d9c5151792ee7 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 7 May 2017 09:41:47 +1000 Subject: [PATCH] Silence warnings. --- src/stratifier.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/stratifier.c b/src/stratifier.c index 3156aa81..ae8b16e2 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1638,8 +1638,6 @@ static bool rebuild_txns(ckpool_t *ckp, sdata_t *sdata, workbase_t *wb) sdata->wbincomplete = true; if (ckp->proxy) 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"); request_txns(ckp, sdata, missing_txns); @@ -1695,7 +1693,8 @@ static void check_incomplete_wbs(ckpool_t *ckp, sdata_t *sdata) LOGNOTICE("%d remote workinfo still incomplete", incomplete); else { sdata->wbincomplete = false; - LOGWARNING("Successfully resumed rebuilding transactions into workinfo"); + if (ckp->proxy) + LOGWARNING("Successfully resumed rebuilding transactions into workinfo"); } }