mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
taproot
This commit is contained in:
@@ -287,11 +287,13 @@ export class StratumV1Client extends EasyUnsubscribe {
|
||||
this.stratumV1JobsService.newMiningJob$.pipe(
|
||||
takeUntil(this.easyUnsubscribe)
|
||||
).subscribe(async (jobTemplate) => {
|
||||
await this.sendNewMiningJob(jobTemplate);
|
||||
|
||||
await this.checkDifficulty();
|
||||
|
||||
await this.watchdog();
|
||||
try {
|
||||
await this.sendNewMiningJob(jobTemplate);
|
||||
await this.checkDifficulty();
|
||||
await this.watchdog();
|
||||
} catch (e) {
|
||||
this.promiseSocket.socket.emit('end', true);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user