diff --git a/src/stratifier.c b/src/stratifier.c index caac4378..dad5ed42 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -5835,6 +5835,8 @@ out: ret = SM_TXNS; else if (cmdmatch(method, "mining.suggest_difficulty")) ret = SM_SUGGESTDIFF; + else + ret = SM_NONE; } return ret; } @@ -6055,6 +6057,10 @@ static void node_client_msg(ckpool_t *ckp, json_t *val, const char *buf, stratum case SM_AUTHRESULT: parse_authorise_result(ckp, sdata, client, res_val); break; + case SM_NONE: + LOGNOTICE("Unrecognised method from client %"PRId64" :%s", + client->id, buf); + break; default: break; }