Balance strangeness with only one z-address with funds in it #37

Open
opened 3 years ago by jahway603 · 3 comments
Collaborator

OS Reported on -> Arch Linux
SDL Version used -> 1.5.2
QT Version used -> 5.15.2+kde+r247-1

I'm getting a "mis-match" on the Balance amount of Hush in SDL when the wallet only has one z-address with funds in it as follows:

  • The balance reflected in the SDL "Balance Tab" is correct.

  • The "mis-match" is when you click on the SDL "Receive Tab", then click on the z-address box just under the field "z-Addr", then you scroll thru the z-addresses and notice that their Balance amounts do match the Balance tab at all. So for example, you have 10 HUSH total for your Balance in SDL but in the "Receive Tab" your value for that particular z-address shows only a balance of 0.0001 HUSH, which is not the same value.

  • The issue "fixes" itself when funds are sent to a new z-address in SDL.

OS Reported on -> Arch Linux SDL Version used -> 1.5.2 QT Version used -> 5.15.2+kde+r247-1 I'm getting a "mis-match" on the Balance amount of Hush in SDL when the wallet only has one z-address with funds in it as follows: * The balance reflected in the SDL "Balance Tab" is correct. * The "mis-match" is when you click on the SDL "Receive Tab", then click on the z-address box just under the field "z-Addr", then you scroll thru the z-addresses and notice that their Balance amounts do match the Balance tab at all. So for example, you have 10 HUSH total for your Balance in SDL but in the "Receive Tab" your value for that particular z-address shows only a balance of 0.0001 HUSH, which is not the same value. * The issue "fixes" itself when funds are sent to a new z-address in SDL.
Owner

@jahway603 does this happen with recently confirmed funds?

@jahway603 does this happen with recently confirmed funds?
Poster
Collaborator

@duke The funds in there were from last year, but there was more Hush in there in the past, so it would have had multiple z-addresses with coins in them. I hadn't used SDL for a little bit, so loaded it up to setup some Hushchat stuff. It was then that I noticed this bug.

At the time I was also testing SD with the new hushd 3.9.0 and sent funds from that to a newly created z-addr within SDL. Then BOOM, I went to look for the the bug in SDL and it was not there because then funds existed in more than 1 z-address. Strange bug

@duke The funds in there were from last year, but there was more Hush in there in the past, so it would have had multiple z-addresses with coins in them. I hadn't used SDL for a little bit, so loaded it up to setup some Hushchat stuff. It was then that I noticed this bug. At the time I was also testing SD with the new hushd 3.9.0 and sent funds from that to a newly created z-addr within SDL. Then BOOM, I went to look for the the bug in SDL and it was not there because then funds existed in more than 1 z-address. **Strange bug**
Owner

@jahway603 thanks, those details help in debugging. My guess is that one tab of the GUI calculates how much funds in a slightly different way, such as including or not including unconfirmed zfunds. They also probably update on different intervals, since all the GUI tabs in SD have update intervals to update their data.

@jahway603 thanks, those details help in debugging. My guess is that one tab of the GUI calculates how much funds in a slightly different way, such as including or not including unconfirmed zfunds. They also probably update on different intervals, since all the GUI tabs in SD have update intervals to update their data.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.