Skip to content

Commit

Permalink
fix nickminer output format
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Sep 16, 2024
1 parent cb4fa70 commit 9b3aa52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/pow/PoWShareVerification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand Down

0 comments on commit 9b3aa52

Please sign in to comment.