From 9bc777cf7da673dc62f81a07b30b2a38508e6360 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Fri, 11 Mar 2022 00:52:39 +0000 Subject: [PATCH] Fixed RTM tx parsing --- package.json | 2 +- rtm.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6034e45..7d7fdcf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cryptoforknote-util", - "version": "11.2.2", + "version": "11.2.3", "main": "cryptoforknote-util", "author": { "name": "LucasJones", diff --git a/rtm.js b/rtm.js index 49e5108..ccce657 100644 --- a/rtm.js +++ b/rtm.js @@ -267,7 +267,7 @@ module.exports.RtmBlockTemplate = function(rpcData, poolAddress) { 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) } - tx.push(tx); + txs.push(tx); } else { console.error("Skip RTM v1 tx: " + tx.data); }