File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ func formatTokenTransaction(gb *gloomberg.Gloomberg, seawa *seawatcher.SeaWatche
211
211
}
212
212
213
213
// add rank if available
214
+ var fmtRank string
214
215
if gb .Ranks [transfer .Token .Address ] != nil {
215
216
if rank := gb .Ranks [transfer .Token .Address ][transfer .Token .ID .Int64 ()].Rank ; rank > 0 {
216
217
topX := float64 (rank ) / float64 (collection .Metadata .TotalSupply )
@@ -290,7 +291,7 @@ func formatTokenTransaction(gb *gloomberg.Gloomberg, seawa *seawatcher.SeaWatche
290
291
}
291
292
292
293
fmtTokenIds [transfer .Token .Address ] = append (fmtTokenIds [transfer .Token .Address ], style .TerminalLink (openseaURL , fmtTokenID .String ())+ fmtTotalSupply )
293
- fmtHistoryTokenIds [transfer .Token .Address ] = append (fmtHistoryTokenIds [transfer .Token .Address ], formatTokenID (collection , transfer .Token .ID )+ fmtTotalSupply )
294
+ fmtHistoryTokenIds [transfer .Token .Address ] = append (fmtHistoryTokenIds [transfer .Token .Address ], fmtRank + formatTokenID (collection , transfer .Token .ID )+ fmtTotalSupply )
294
295
295
296
if isOwnCollection {
296
297
currentCollection = collection
You can’t perform that action at this time.
0 commit comments