Skip to content

Commit

Permalink
update loggin
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Nov 13, 2024
1 parent df01f92 commit c83e5fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class NavService {
val (priceAmount, priceDenom) = priceStr?.denomAmountToPair() ?: Pair("", "")

if ((denom != null || scopeId != null) && priceAmount.isNotEmpty()) {
logger().info("NavEvent - ${txInfo.blockHeight} ${txInfo.txHash} ${event.type} $scopeId$denom $priceDenom ${priceAmount.toLongOrNull()} $volume $source")
logger().info("NavEvent - ${txInfo.blockHeight} ${txInfo.txHash} ${event.type} ${scopeId ?: ""}${denom?: ""} $priceDenom ${priceAmount.toLongOrNull()} $volume $source")

Check failure on line 31 in service/src/main/kotlin/io/provenance/explorer/service/NavService.kt

View workflow job for this annotation

GitHub Actions / ktlint

Missing spacing before "?:"
NavEventsRecord.insert(
blockHeight = txInfo.blockHeight,
blockTime = txInfo.txTimestamp,
Expand Down

0 comments on commit c83e5fc

Please sign in to comment.