Browse Source

Don't attempt to set a user as a btcaddress based instance in proxy mode

master
Con Kolivas 10 years ago
parent
commit
35458c32b3
  1. 2
      src/stratifier.c

2
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);

Loading…
Cancel
Save