Skip to content

Commit

Permalink
Fix bug with mweb functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
blinkhash authored Dec 13, 2023
1 parent 6c5d374 commit 489700d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/main/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ const Template = function(poolConfig, rpcData, jobId, extraNoncePlaceholder, aux
_this.transactions,
_this.getVoteData(),
Buffer.from(_this.poolConfig.primary.coin.hybrid ? [0] : []),
Buffer.concat(_this.rpcData.mweb !== null ? [] : [
Buffer.concat(_this.rpcData.mweb ? [
Buffer.from([1]),
Buffer.from(_this.rpcData.mweb, 'hex')
]),
] : []),
]);
break;
}
Expand Down

0 comments on commit 489700d

Please sign in to comment.