Open gilardh opened 4 years ago
This is an interesting bug
@gilardh it sounds like we are appending the data sometimes, when it should always be clearing it out then adding all fresh data
@gilardh If you can help me see if this still happens in the latest version of code or if this can be closed, that would be helpful. Thanks!
@gilardh I have not been able to reproduce this in my testing. Were you able to reproduce this issue on the latest release?
@jahway603 this was a valid bug at one time. Not sure if things have changed.
It comes from the fact that in some edge case, maybe with timeouts or changing networks, the GUI appends all transaction data to what is there already, instead of clearing it out first. The result is seeing every tx twice. It's not easy to trigger, it's something to do with timing out and perhaps putting the paired laptop to sleep and waking it up. I have seen it myself a few times.
@gilardh @jahway603 i think we can improve the code to always clear the tx list before appending, and this edge case will go away.
List of transactions is duplicated when we return to the application after a long time.
For information: When you click on the button to refresh the data at the top of the screen, the list is updated correctly.