set diff if it isn't suggested

This commit is contained in:
Ben Wilson
2023-06-29 17:11:33 -04:00
parent cef9114c83
commit d0fc60032e
3 changed files with 7 additions and 3 deletions
@@ -20,8 +20,7 @@ export class SubscriptionMessage extends StratumBaseMessage {
error: null,
result: [
[
['mining.set_difficulty', '731ec5e0649606ff'],
['mining.notify', '731ec5e0649606ff']
['mining.notify', clientId]
],
clientId, //Extranonce1 - Hex-encoded, per-connection unique string which will be used for coinbase serialization later. Keep it safe!
4 //Extranonce2_size - Represents expected length of extranonce2 which will be generated by the miner.