diff --git a/proxy/stratum.go b/proxy/stratum.go index 7d6fb84..764808b 100644 --- a/proxy/stratum.go +++ b/proxy/stratum.go @@ -332,7 +332,7 @@ case "eth_submitWork": var params []string err := json.Unmarshal(req.Params, ¶ms) // Check if there was an error unmarshaling the parameters or if they don't meet the required length and format criteria - if err != nil || len(params) < 3 || len(params[0]) != 18 || len(params[1]) != 66 || len(params[2]) != 66 { + if err != nil || len(params) < 3 || len(params[0]) != 16 || len(params[1]) != 64 || len(params[2]) != 64 { // If there was an error, log the issue and return it log.Println("Malformed stratum request params from", cs.ip) return err