mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
stratum: small clean up :) (#279)
This commit is contained in:
parent
ae6af25dec
commit
b6f212ee6c
1 changed files with 1 additions and 2 deletions
|
@ -351,12 +351,11 @@ static bool ntime_valid_range(const char ntimehex[])
|
|||
|
||||
static bool valid_string_params(json_value *json_params)
|
||||
{
|
||||
bool valid = true;
|
||||
for(int p=0; p < json_params->u.array.length; p++) {
|
||||
if (!json_is_string(json_params->u.array.values[p]))
|
||||
return false;
|
||||
}
|
||||
return valid;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool client_submit(YAAMP_CLIENT *client, json_value *json_params)
|
||||
|
|
Loading…
Add table
Reference in a new issue