[0.5] Update account history object sorting logic #2545
Labels
[1c] Task
Task for team member to perform. Description may contain a Task List and reference child Sub-Tasks
[3] Enhancement
Classification indicating a change to the functionality of the existing imlementation
[4c] High Priority
Priority indicating significant impact to system/user -OR- workaround is prohibitivly expensive
[5b] Small
Indicates size of task. Est. between one and two hours
[6] Core
Impact flag identifying related to bitshares-core
[7] Estimated
Administration flag, notifies hours are estimated and requires revisiting
Milestone
Describe the bug
Current code for sorting account history object will be obsolete after bitshares/bitshares-core#1675 is done.
bitshares-ui/app/components/Account/RecentTransactions.jsx
Lines 22 to 28 in 83edcc3
The correct logic is to compare all the 4 fields
(block_num, trx_in_block, op_in_trx, virtual_op)
in the object (it is also correct before bitshares/bitshares-core#1675 is done).To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: