From 35458c32b30f932e14a001fdf3beb0160c6e8d22 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 9 Sep 2014 21:24:29 +1000 Subject: [PATCH] Don't attempt to set a user as a btcaddress based instance in proxy mode --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index c0cc640b..642322f6 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1351,7 +1351,7 @@ static user_instance_t *authorise_user(ckpool_t *ckp, const char *workername) } ck_uilock(&instance_lock); - if (new) { + if (new && !ckp->proxy) { /* Is this a btc address based username? */ if (len > 26 && len < 35) instance->btcaddress = test_address(ckp, username);