Browse Source

Bugfix: minergate: Correct endian for 2nd winner_nonce

Luke Dashjr 11 years ago
parent
commit
53bf6ea90a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-minergate.c

+ 1 - 1
driver-minergate.c

@@ -447,7 +447,7 @@ void minergate_poll(struct thr_info * const thr)
 		{
 			submit_nonce(thr, work, nonce);
 			
-			nonce = upk_u32be(jobrsp, 0xc);
+			nonce = upk_u32le(jobrsp, 0xc);
 			if (nonce)
 				submit_nonce(thr, work, nonce);
 		}