mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-04-13 14:29:24 +02:00
remove some logging
This commit is contained in:
parent
32c5545de8
commit
5ad581d6f5
@ -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;
|
||||
|
@ -63,6 +63,7 @@ export class StratumV1Service implements OnModuleInit {
|
||||
await client.destroy();
|
||||
console.log(`Client disconnected, ${client.extraNonceAndSessionId}`);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
socket.on('error', async (error: Error) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user