Skip to content

Commit

Permalink
always use p2p difficulty to mine even if we mine soslo
Browse files Browse the repository at this point in the history
  • Loading branch information
SWvheerden committed Dec 7, 2024
1 parent 503249c commit 40d8acc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/grpc/p2pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ where S: ShareChain
}

// what happens p2pool difficulty > base chain diff
if target_difficulty.as_u64() < miner_data.target_difficulty && synced_status {
if target_difficulty.as_u64() < miner_data.target_difficulty {
miner_data.target_difficulty = target_difficulty.as_u64();
}
}
Expand Down

0 comments on commit 40d8acc

Please sign in to comment.