We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de39c40 commit df1cd95Copy full SHA for df1cd95
index.js
@@ -52,7 +52,7 @@ async function fetchLedgerTransactions(client, ledgerIndex) {
52
transactions: true,
53
expand: true,
54
}, 10)
55
- return { ledger_index: ledgerIndex, transactions: txResults }
+ return { ledger_index: ledgerIndex, transactions: txResults.ledger.transactions }
56
}
57
58
console.log(`<<< MANY TXS at ledger ${ledgerIndex}: [[ ${result.ledger.transactions.length} ]], processing per-tx...`)
@@ -90,7 +90,7 @@ async function insertIntoDB(txs) {
90
91
92
93
-function formatTxForDB(tx) {
+function formatTxForDB(Tx) {
94
const _Tx = {}
95
96
// Auto mapping for 1:1 fields (non RECORD)
0 commit comments