From ff52ca941873ca81c47ccc9940f74abbfcaf5d74 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Mon, 8 Mar 2021 18:02:56 -0800 Subject: [PATCH] fix(getPublicKey): Using array for tx to pass usrObj --- src/routes/v4/encryption.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/v4/encryption.js b/src/routes/v4/encryption.js index 827e6b2..48229c5 100644 --- a/src/routes/v4/encryption.js +++ b/src/routes/v4/encryption.js @@ -119,7 +119,7 @@ class Encryption { cashAddr ) - const rawTxData = await _this.bchjs.Electrumx.transactions(cashAddr, usrObj) + const rawTxData = await _this.bchjs.Electrumx.transactions([cashAddr], usrObj) // console.log(`rawTxData: ${JSON.stringify(rawTxData, null, 2)}`) // Extract just the TXIDs