remove some logging

This commit is contained in:
Ben Wilson 2023-08-07 22:19:36 -04:00
parent 32c5545de8
commit 5ad581d6f5
2 changed files with 3 additions and 2 deletions

View File

@ -394,7 +394,7 @@ export class StratumV1Client {
}
console.log(`Sent new job to ${this.clientAuthorization.worker}.${this.extraNonceAndSessionId}. (clearJobs: ${jobTemplate.blockData.clearJobs}, fee?: ${!this.noFee})`)
//console.log(`Sent new job to ${this.clientAuthorization.worker}.${this.extraNonceAndSessionId}. (clearJobs: ${jobTemplate.blockData.clearJobs}, fee?: ${!this.noFee})`)
}
@ -421,7 +421,7 @@ export class StratumV1Client {
submission.id,
eStratumErrorCode.JobNotFound,
'Job not found').response();
console.log(err);
//console.log(err);
const success = await this.write(err);
if (!success) {
return false;

View File

@ -63,6 +63,7 @@ export class StratumV1Service implements OnModuleInit {
await client.destroy();
console.log(`Client disconnected, ${client.extraNonceAndSessionId}`);
}
});
socket.on('error', async (error: Error) => {