From be85a6043678f0dd436a8f23da93af41451fcc11 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Sun, 28 Nov 2021 20:28:29 +0000 Subject: [PATCH] GR support --- index.js | 2 +- rtm.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 99b6e08..394abf1 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,7 @@ const varuint = require('varuint-bitcoin'); const crypto = require('crypto'); const fastMerkleRoot = require('merkle-lib/fastRoot'); -const rtm = require('rtm'); +const rtm = require('cryptoforknote-util/rtm'); function scriptCompile(addrHash) { return bitcoin.script.compile([ diff --git a/rtm.js b/rtm.js index 6e480f6..3df63e7 100644 --- a/rtm.js +++ b/rtm.js @@ -1,2 +1,3 @@ module.exports.RtmBlockTemplate = function(rpcData, poolAddress) { + return {}; }; \ No newline at end of file