Compare commits

...

1 Commits

Author SHA1 Message Date
MoneroOcean 7a1d7271a1 RTM fix 2024-06-01 10:22:55 +03:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "cryptoforknote-util", "name": "cryptoforknote-util",
"version": "15.3.10", "version": "15.3.11",
"author": { "author": {
"name": "LucasJones", "name": "LucasJones",
"email": "lucasjonesdev@hotmail.co.uk" "email": "lucasjonesdev@hotmail.co.uk"
+1 -1
View File
@@ -229,7 +229,7 @@ function generateTransactionOutputs(rpcData, poolAddress, is_witness) {
module.exports.RtmBlockTemplate = function(rpcData, poolAddress) { module.exports.RtmBlockTemplate = function(rpcData, poolAddress) {
const extraNoncePlaceholderLength = 17; const extraNoncePlaceholderLength = 17;
const coinbaseVersion = rpcData.coinbaseaux.flags ? Buffer.concat([packUInt16LE(3), packUInt16LE(5)]) : Buffer.concat([packUInt16LE(1), packUInt16LE(0)]); const coinbaseVersion = rpcData.coinbasedevreward ? Buffer.concat([packUInt16LE(1), packUInt16LE(0)]) : Buffer.concat([packUInt16LE(3), packUInt16LE(5)]);
const scriptSigPart1 = Buffer.concat([ const scriptSigPart1 = Buffer.concat([
serializeNumber(rpcData.height), serializeNumber(rpcData.height),