From d5751d3e1c63465163a801d416892e6709456750 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 6 Jan 2016 19:40:12 +1100 Subject: [PATCH] Only wait for current workbase in non-proxy mode --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index d21d5968..b144b572 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -5484,7 +5484,7 @@ static void parse_instance_msg(ckpool_t *ckp, sdata_t *sdata, smsg_t *msg, strat /* At startup we block until there's a current workbase otherwise we * will reject miners with the initialising message. A slightly delayed * response to subscribe is better tolerated. */ - while (unlikely(!sdata->current_workbase)) { + while (unlikely(!ckp->proxy && !sdata->current_workbase)) { cksleep_ms(100); if (!(++delays % 50)) LOGWARNING("%d Second delay waiting for bitcoind at startup", delays / 10);