Fixed RTM tx parsing

This commit is contained in:
MoneroOcean
2022-03-11 00:52:39 +00:00
parent 66fd45fd11
commit 9bc777cf7d
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "cryptoforknote-util", "name": "cryptoforknote-util",
"version": "11.2.2", "version": "11.2.3",
"main": "cryptoforknote-util", "main": "cryptoforknote-util",
"author": { "author": {
"name": "LucasJones", "name": "LucasJones",

2
rtm.js
View File

@@ -267,7 +267,7 @@ module.exports.RtmBlockTemplate = function(rpcData, poolAddress) {
console.error("Skip RTM tx due to parse error: " + tx.data); console.error("Skip RTM tx due to parse error: " + tx.data);
return; // skip transaction if it is not parsed OK (varint coding seems to be different for RTM) return; // skip transaction if it is not parsed OK (varint coding seems to be different for RTM)
} }
tx.push(tx); txs.push(tx);
} else { } else {
console.error("Skip RTM v1 tx: " + tx.data); console.error("Skip RTM v1 tx: " + tx.data);
} }