From 8d5532f2e370c6ce8293cdc6f6485b3bb733a331 Mon Sep 17 00:00:00 2001 From: Shangaman Date: Fri, 4 Nov 2022 23:40:48 +0100 Subject: [PATCH] testing if getmnstatus works --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 7248814..2f0a6be 100644 --- a/app.js +++ b/app.js @@ -57,7 +57,7 @@ async function GetMnStatus(txid){ 'content-type': 'text/plain;', 'Authorization': 'Basic ' + encodeBase64('masternode_test:p') }, - body: '{"jsonrpc": "1.0", "id":"curltest", "method": "listmasternodes", "params": ['+txid+'] }'}); + body: '{"jsonrpc": "1.0", "id":"curltest", "method": "listmasternodes", "params": ['+String(txid)+'] }'}); return output.text() }catch(error){ if (error.name === 'AbortError') {