From 973033ffff36d5e1b3b58c7ab0f5b7c00c4842ae Mon Sep 17 00:00:00 2001 From: MishK Date: Thu, 1 Feb 2024 15:53:42 +0300 Subject: [PATCH] Quick fix --- src/rpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc.rs b/src/rpc.rs index 837b848..379686b 100644 --- a/src/rpc.rs +++ b/src/rpc.rs @@ -191,7 +191,7 @@ impl MiningContext { let mut r: [u8;32] = rot_hash.encode()[0..32].try_into().unwrap(); if matches!(self.p3d_params.algo, AlgoType::Grid2dV3a) { - for a in r[3..].iter() { + for a in r[4..].iter() { // exclude rotation less than 20 if *a > 20 { r[3] = a.clone();