mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-18 20:54:20 +01:00
[SDK] Hotfix tx history order
This commit is contained in:
@@ -756,7 +756,7 @@ func (a *covenantlessArkClient) GetTransactionHistory(ctx context.Context) ([]Tr
|
|||||||
if txi.CreatedAt.Equal(txj.CreatedAt) {
|
if txi.CreatedAt.Equal(txj.CreatedAt) {
|
||||||
return txi.Type > txj.Type
|
return txi.Type > txj.Type
|
||||||
}
|
}
|
||||||
return txi.CreatedAt.Before(txj.CreatedAt)
|
return txi.CreatedAt.After(txj.CreatedAt)
|
||||||
})
|
})
|
||||||
|
|
||||||
return txs, nil
|
return txs, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user