From 9b3aa52cfa936c18cfe3032520f54a9e71cdaec8 Mon Sep 17 00:00:00 2001 From: pk910 Date: Mon, 16 Sep 2024 19:33:10 +0200 Subject: [PATCH] fix `nickminer` output format --- src/modules/pow/PoWShareVerification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/pow/PoWShareVerification.ts b/src/modules/pow/PoWShareVerification.ts index 51cfd64fd..fcc17c597 100644 --- a/src/modules/pow/PoWShareVerification.ts +++ b/src/modules/pow/PoWShareVerification.ts @@ -233,7 +233,7 @@ export class PoWShareVerification { } if(difficulty >= powConfig.powNickMinerParams.relevantDifficulty) { - let line = "0x" + this.data.substring(4, 44) + " (d: " + difficulty + "): hash: 0x" + powConfig.powNickMinerParams.hash + ", sigV: 0x" + powConfig.powNickMinerParams.sigR + ", sigR: 0x" + this.data.substring(44, this.data.length); + let line = "0x" + this.data.substring(4, 44) + " (d: " + difficulty + "): hash: 0x" + powConfig.powNickMinerParams.hash + ", sigR: 0x" + powConfig.powNickMinerParams.sigR + ", sigS: 0x" + this.data.substring(44, this.data.length); fs.appendFileSync(resolveRelativePath(powConfig.powNickMinerParams.relevantFile), line + "\n") } }