This commit is contained in:
Ben Wilson
2023-07-31 09:12:58 -04:00
parent 432f5c4325
commit 3a1ae6bf09
6 changed files with 49 additions and 8 deletions
+1 -3
View File
@@ -62,8 +62,6 @@ export class MiningJob {
const testBlock = Object.assign(new bitcoinjs.Block(), jobTemplate.block);
testBlock.transactions[0] = this.coinbaseTransaction;
testBlock.nonce = nonce;
@@ -84,7 +82,7 @@ export class MiningJob {
testBlock.timestamp = timestamp;
return testBlock as any;
return testBlock;
}