Skip to content

Commit

Permalink
add temp log
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Nov 13, 2024
1 parent c79af80 commit 13faa8e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package io.provenance.explorer.service

import cosmos.tx.v1beta1.ServiceOuterClass
import io.provenance.explorer.domain.core.logger
import io.provenance.explorer.domain.entities.NavEventsRecord
import io.provenance.explorer.domain.models.explorer.TxData
import io.provenance.explorer.domain.models.explorer.TxUpdate
Expand All @@ -27,6 +28,7 @@ class NavService {
val (priceAmount, priceDenom) = priceStr?.denomAmountToPair() ?: Pair("", "")

if ((denom != null || scopeId != null) && priceAmount.isNotEmpty()) {
logger().info("NavEvent - $event")
NavEventsRecord.insert(
blockHeight = txInfo.blockHeight,
blockTime = txInfo.txTimestamp,
Expand Down

0 comments on commit 13faa8e

Please sign in to comment.