Skip to content

Commit

Permalink
use correct queue
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-d committed Dec 21, 2023
1 parent 018a87c commit 28fa5d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/microservice-user-transactions-aggregate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ func main() {
existingUtility := existingUserTransaction.UtilityName

switch {
// Solana doesn't have utilities, so utility could be empty
case utility == "":
fallthrough
// a regular win
case utility == "FLUID":
// regardless of whether there's existing win data, always prefer to show
Expand Down Expand Up @@ -166,8 +169,7 @@ func main() {

switch {
// a regular win
// Solana doesn't have utilities, so utility could be empty
case utility == "FLUID" || utility == "":
case utility == "FLUID":
// regardless of whether there's existing win data, always prefer to show
// an application if any logs in this transaction contain one
if existingUserTransaction.Application == "none" {
Expand Down

0 comments on commit 28fa5d0

Please sign in to comment.