We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0753cc9 commit 28b6d8aCopy full SHA for 28b6d8a
src/scripts/mint-pow.ts
@@ -60,12 +60,12 @@ This mining user configuration was not found!
60
let timer = Date.now(),
61
startTimer = timer,
62
mineCount = 0;
63
+ toMintBlockNumber = blockNumber;
64
setInterval(() => {
65
toMintBlockNumber += 1;
66
}, 1000 * 12);
67
while (true) {
68
mineCount += 1;
- toMintBlockNumber = blockNumber + 5;
69
const transaction = {
70
type: 2,
71
chainId: network.chainId,
@@ -82,7 +82,7 @@ This mining user configuration was not found!
82
tick: tick,
83
// use_point: '0',
84
block: String(toMintBlockNumber),
85
- nonce: `${generateNonce()}${unique++}`,
+ nonce: `${generateNonce()}`,
86
})}`
87
),
88
};
0 commit comments