Skip to content

Commit

Permalink
[SDK] Hotfix tx history order
Browse files Browse the repository at this point in the history
  • Loading branch information
altafan committed Sep 27, 2024
1 parent 72e31d8 commit a3deb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client-sdk/covenantless_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ func (a *covenantlessArkClient) GetTransactionHistory(ctx context.Context) ([]Tr
if txi.CreatedAt.Equal(txj.CreatedAt) {
return txi.Type > txj.Type
}
return txi.CreatedAt.Before(txj.CreatedAt)
return txi.CreatedAt.After(txj.CreatedAt)
})

return txs, nil
Expand Down

0 comments on commit a3deb2d

Please sign in to comment.