From cf86e390fbec3060f1066800aa5909eb0bdecea8 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Mon, 8 Mar 2021 18:07:24 -0800 Subject: [PATCH] Fixing typo in getPublicKey --- 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 48229c5..466c45f 100644 --- a/src/routes/v4/encryption.js +++ b/src/routes/v4/encryption.js @@ -123,7 +123,7 @@ class Encryption { // console.log(`rawTxData: ${JSON.stringify(rawTxData, null, 2)}`) // Extract just the TXIDs - const txids = rawTxData.transactions.map((elem) => elem.tx_hash) + const txids = rawTxData.transactions[0].transactions.map((elem) => elem.tx_hash) // console.log(`txids: ${JSON.stringify(txids, null, 2)}`) // throw error if there is no transaction history.