Skip to content

Commit

Permalink
Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MishK committed Feb 1, 2024
1 parent 38eac1e commit 973033f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 973033f

Please # to comment.