Skip to content

Commit 0f3ceec

Browse files
committed
feat: add more logging to xrp indexer
1 parent 8cb7880 commit 0f3ceec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/fasset-indexer-xrp/src/indexer/xrp-indexer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export class XrpIndexer {
9797
const { Account, Destination } = transaction
9898
if (this.tracked.has(Account) || this.tracked.has(Destination!)) {
9999
utransaction = await this.storeTransaction(em, transaction, block)
100+
logger.info(`ripple indexer stored transaction ${utransaction.hash}`)
100101
}
101102
if (transaction.Memos == null) return
102103
for (const memo of transaction.Memos) {
@@ -110,6 +111,7 @@ export class XrpIndexer {
110111
continue
111112
}
112113
await this.storeReference(em, reference, utransaction, utransaction.source, block)
114+
logger.info(`ripple indexer stored reference ${reference}`)
113115
break
114116
}
115117
}

0 commit comments

Comments
 (0)