getSuggestedDifficulty

This commit is contained in:
Ben Wilson
2023-08-06 22:50:50 -04:00
parent b642a399f2
commit 3ec444af48
+1 -1
View File
@@ -51,7 +51,7 @@ export class StratumV1ClientStatistics {
// miner hasn't submitted shares in one minute
if (this.submissionCache.length == 0) {
if ((new Date().getTime() - this.submissionCacheStart.getTime()) / 1000 > 60) {
return this.nearestPowerOfTwo(clientDifficulty >> 1);
return this.nearestPowerOfTwo(clientDifficulty / 6);
} else {
return null;
}