mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
Fixing typo in getPublicKey
This commit is contained in:
@@ -123,7 +123,7 @@ class Encryption {
|
|||||||
// console.log(`rawTxData: ${JSON.stringify(rawTxData, null, 2)}`)
|
// console.log(`rawTxData: ${JSON.stringify(rawTxData, null, 2)}`)
|
||||||
|
|
||||||
// Extract just the TXIDs
|
// 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)}`)
|
// console.log(`txids: ${JSON.stringify(txids, null, 2)}`)
|
||||||
|
|
||||||
// throw error if there is no transaction history.
|
// throw error if there is no transaction history.
|
||||||
|
|||||||
Reference in New Issue
Block a user