Skip to content

Commit

Permalink
fix: do not use k2pow-difficulty in profiler tool
Browse files Browse the repository at this point in the history
  • Loading branch information
brusherru committed May 24, 2023
1 parent 50b8c08 commit b840435
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions desktop/posProfiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export interface PosProfilerOptions {
datasize: number;
nonces: number;
threads: number;
k2difficulty: BigInt;
}

interface PosProfilerResult {
Expand Down Expand Up @@ -45,7 +44,6 @@ export const runProfiler = (
`--data-size=${opts.datasize}`,
`--nonces=${opts.nonces}`,
`--threads=${opts.threads}`,
`--k2-pow-difficulty=${opts.k2difficulty.toString()}`,
]);

const out = {
Expand Down Expand Up @@ -126,7 +124,6 @@ export const runBenchmarks = async (
const defaultProfilerOpts: PosProfilerOptions = {
datafile: resolve(app.getPath('temp'), 'profiler.bin'),
datasize: 1,
k2difficulty: BigInt(nodeConfig.post['post-k2pow-difficulty']),
nonces: 16,
threads: 1,
};
Expand Down

0 comments on commit b840435

Please sign in to comment.