From 9252d0349b0c8af3919168eb0d171937454236e8 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Wed, 25 Apr 2018 14:02:10 +1000 Subject: [PATCH] Create subproxy if it doesn't already exist in stratum_set_proxy_vmask. --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 5c79739e..652d134a 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -3040,7 +3040,7 @@ void stratum_set_proxy_vmask(ckpool_t *ckp, int id, int subid, uint32_t version_ { proxy_t *proxy; - proxy = existing_subproxy(ckp->sdata, id, subid); + proxy = subproxy_by_id(ckp->sdata, id, subid); proxy->version_mask = version_mask; LOGINFO("Stratum Proxy %d:%d had version mask set to %08x", id, subid, version_mask); }