Skip to content

Commit

Permalink
small style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benleb committed Jul 10, 2023
1 parent b614d9b commit 3dfd35e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/trapri/trapri.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ func formatTokenTransaction(gb *gloomberg.Gloomberg, seawa *seawatcher.SeaWatche
case totra.Mint:
// gb.Stats.AddMint(ttx.TotalTokens, ttx.AmountPaid)
eventType = degendb.Mint
case totra.Listing:
eventType = degendb.Listing
}

gb.Stats.AddEvent(eventType, ttx.TotalTokens, ttx.AmountPaid)
Expand Down Expand Up @@ -833,7 +835,7 @@ func formatTokenTransaction(gb *gloomberg.Gloomberg, seawa *seawatcher.SeaWatche
//
// SaLiRas
if timeframedSaLiRas := currentCollection.GetPrettySaLiRas(); len(timeframedSaLiRas) > 0 {
out.WriteString(" ~ " + strings.Join(timeframedSaLiRas, " "))
out.WriteString(style.DarkGrayStyle.Render(" ~ ") + strings.Join(timeframedSaLiRas, " "))

// add collection symbol ad the end for easier matching between salira and collection
if currentCollection.Metadata != nil && currentCollection.Metadata.Symbol != "" {
Expand Down

0 comments on commit 3dfd35e

Please sign in to comment.