fix sort on /api/transaction_lookup
This commit is contained in:
parent
b0fe55c8a8
commit
2256b460bc
|
@ -1055,7 +1055,7 @@ func (r TransactionInputQueryResults) Match() (result TransactionInputQueryResul
|
|||
}
|
||||
|
||||
slices.SortFunc(result, func(a, b TransactionInputQueryResultsMatch) int {
|
||||
return int(a.Count) - int(b.Count)
|
||||
return int(b.Count) - int(a.Count)
|
||||
})
|
||||
|
||||
return result
|
||||
|
|
Loading…
Reference in a new issue