static char *set_url(char *arg)
{
struct pool *pool = add_url();
setup_url(pool, arg);
if (strstr(pool->rpc_url, ".nicehash.com") || strstr(pool->rpc_url, "#xnsub")) {
pool->extranonce_subscribe = true;
applog(LOG_DEBUG, "Pool %d extranonce subscribing enabled.", pool->pool_no);
}
return NULL;
}
I suppose you are using Nicehash, I believe there is a way to check if your miner has xnsub enabled or connected without it on nicehash itself, the code I quoted enables extranonce_subscribe by default when the pool you use is nicehash.com so maybe when you say "it connects without it" it actually does?