|
|
|
@ -468,7 +468,7 @@ func (cs *Session) pushNewJob(s *ProxyServer, result interface{}) error { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
Height: util.ToHex1(int64(a.Height)), |
|
|
|
Height: util.ToHex1(int64(a.Height)), |
|
|
|
Algo: "etchash", |
|
|
|
Algo: s.config.Network, |
|
|
|
} |
|
|
|
} |
|
|
|
return cs.enc.Encode(&resp) |
|
|
|
return cs.enc.Encode(&resp) |
|
|
|
} |
|
|
|
} |
|
|
|
@ -568,7 +568,7 @@ func (cs *Session) sendJob(s *ProxyServer, id json.RawMessage, newjob bool) erro |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
Height: util.ToHex1(int64(t.Height)), |
|
|
|
Height: util.ToHex1(int64(t.Height)), |
|
|
|
Algo: "etchash", |
|
|
|
Algo: s.config.Network, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return cs.sendTCPReq(resp) |
|
|
|
return cs.sendTCPReq(resp) |
|
|
|
|