LiskArchive / lisk-ui

🖥️ Lisk user-interface submodule
https://lisk.io/
GNU General Public License v3.0
24 stars 35 forks source link

Transaction appear but did not affect balance #53

Closed ghost closed 7 years ago

ghost commented 8 years ago

I have received incoming transaction, it has been added on /dashboard transaction list, but did not affect balance. After jumping off and on /dashboard again it worked. But did not worked at the time tx was added.

fix commented 8 years ago

The socket may be disconnected for a few minutes. THis is general issues of one page app using angular for blockchains. Unlike classical ng app, most of the logic can be handled on the client and reflected later on the server. Here this is not possible since the transaction has to be sent and confirmed (10s or so) then reflected on the server.

Now the thing is that when a transaction is confirmed once, it appears on the dashboard, but the account balance is also a blockchain info from the server and has to go from unconfirmed to confirmed state. If it does not happen in the same time (because other transactions are processed), then you have a delay. We will try to make it smoother.

fix commented 8 years ago

This is angular latency general issue. Not sure if there is an easy fix, what do you think @karmacoma ?