getaddressbalance received is incorrect for devtax address #122

Open
opened 2 years ago by duke · 2 comments
duke commented 2 years ago
Owner
./src/hush-cli getaddressbalance '{"addresses": ["RHushEyeDm7XwtaTWtyCbjGQumYyV8vMjn"]}'
{
  "balance": 3849375000000,
  "received": 677809299116033
}

The balance is correct but received is not, it seems to be counting the entire block reward as received instead of 10%

``` ./src/hush-cli getaddressbalance '{"addresses": ["RHushEyeDm7XwtaTWtyCbjGQumYyV8vMjn"]}' { "balance": 3849375000000, "received": 677809299116033 } ``` The `balance` is correct but `received` is not, it seems to be counting the entire block reward as received instead of 10%
Collaborator

@duke I didn't look at code, but couldn't it be accurate if that address was used for v3 airdrop since a little over 6 million dropped? I checked my pool's address, and received is pretty close but seems over-reported by about 1k HUSH so something could be off.

Pool address returns this

{
  "balance": 15187573000,
  "received": 4737115189000
}

Total paid out at time of checking was 45976.49539112

@duke I didn't look at code, but couldn't it be accurate if that address was used for v3 airdrop since a little over 6 million dropped? I checked my pool's address, and `received` is pretty close but seems over-reported by about 1k HUSH so something could be off. Pool address returns this ``` { "balance": 15187573000, "received": 4737115189000 } ``` Total paid out at time of checking was `45976.49539112`
Poster
Owner

@fekt really good point, I am going to look into that.

As for your balance being slightly off, that is interesting. I am not sure if immature and unconfirmed funds are counted

@fekt really good point, I am going to look into that. As for your balance being slightly off, that is interesting. I am not sure if immature and unconfirmed funds are counted
duke added the
bug
label 1 year ago
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.