Don't attempt to set a user as a btcaddress based instance in proxy mode
This commit is contained in:
parent
9d5bde91fd
commit
35458c32b3
@ -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…
Reference in New Issue
Block a user