|
|
@@ -788,7 +788,7 @@ bool icarus_job_prepare(struct thr_info *thr, struct work *work, __maybe_unused
|
|
|
swab256(ob_bin, work->midstate);
|
|
|
bswap_96p(&ob_bin[0x34], &work->data[0x40]);
|
|
|
if (!(memcmp(&ob_bin[56], "\xff\xff\xff\xff", 4)
|
|
|
- || memcmp(&ob_bin, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 32))) {
|
|
|
+ || memcmp(&ob_bin[0], "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 32))) {
|
|
|
// This sequence is used on cairnsmore bitstreams for commands, NEVER send it otherwise
|
|
|
applog(LOG_WARNING, "%s: Received job attempting to send a command, corrupting it!",
|
|
|
icarus->dev_repr);
|