Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong account balance for multisig cosignatories accounts #916

Open
ghost opened this issue Jul 5, 2021 · 5 comments
Open

Wrong account balance for multisig cosignatories accounts #916

ghost opened this issue Jul 5, 2021 · 5 comments
Labels
P3 Issue Minor defect in aesthetics or code

Comments

@ghost
Copy link

ghost commented Jul 5, 2021

I have picked out two random multisig accounts.
If a Multisig co-signer account is clicked before the explorer is loaded properly, then often an incorrect amount is displayed for the Multisig co-signer account.
The amount of the multisig account is displayed and not the amount of the multisig co-signer account.

  1. Enter the Multisig account address in the search field (or go back with the arrow button of the browser).
  2. Click on the address of the Multisig cosignatory account before the page is loaded correctly.

  • Multisig account:
    NA4BJ5-V4L67Q-EF4537-LKAAFQ-LK6GCS-R6VVDQ-CTY = 3,010,353.765133 XYM

  • Mulitsig cosignatories:
    NBONDH-ZK45S6-HGXO7S-3G3VM6-BMZTXX-6HLZOR-TKA = 1,137.591510 XYM

account-balance

  • Multisig account:
    NCV677-4QIZJA-U75AKG-DC5LJK-EQLZZY-OFVHEY-ABQ = 3,023,800.700608 XYM

  • Multisig cosignatories:
    NBABRK-FNIMO2-IL4CCB-7IYICU-3GVHOC-WBPXNS-PJI = 50.000000 XYM
    NB3LYY-GES7TZ-OGDJ7X-OYN2NB-7YFMP5-ISU777-ZIA = 239.565960 XYM

account-balance-three
account-balance-two

@AnthonyLaw AnthonyLaw added the P3 Issue Minor defect in aesthetics or code label Jul 16, 2021
@AnthonyLaw
Copy link
Member

I believe it should cause by some cache issue on the browser.
I will do some investigation on this.

@ghost
Copy link
Author

ghost commented Jul 16, 2021

Hi, I tried it with different browsers, all of which had different delays in loading time, gave the same result.
The Multisig cosig address is one of the first addresses displayed when an explorer loads slowly. This of course tempts to go further and shorten the loading time. Thus one receives a wrong display in the explorer.
Thx

@cryptoBeliever
Copy link

@ghost
Copy link
Author

ghost commented Jul 18, 2021

Thanks for the video. Yes, sometimes it happens that the display changes and shows the correct amount. Unfortunately, this is not always the case.
Sometimes the display did not change with the wrong amount.


m1

m2

@AnthonyLaw
Copy link
Member

I had debug on this issue.

  1. When request Account A (pending account info update in vue state).
  2. We click on back button on explorer, it made request on Account B (pending account info update in vue state).
  3. The state info update to Account A (response come back).
  4. The state info update to Account B (response come back).

I havent found a solid solution yet, but will disucss with team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Issue Minor defect in aesthetics or code
Projects
None yet
Development

No branches or pull requests

2 participants