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

Large numbers shows as negative #1227

Open
dicklarsson opened this issue Jan 26, 2023 · 1 comment
Open

Large numbers shows as negative #1227

dicklarsson opened this issue Jan 26, 2023 · 1 comment

Comments

@dicklarsson
Copy link

Balance shown with negative numbers

Can you reliably reproduce the issue?

Yes

If so, please list the steps to reproduce below:

Run command
getaddressbalance "{"addresses": ["RNqSvKnzEzBgt9rUvaWCPBTyNtZRogEpo2"] }"
{
"balance": 13562286154227153,
"received": -8399227572720362112
}

Expected behaviour

balance and received should be zero or positive numbers

Actual behaviour

received is displayed as negative number
Note. that address has more than half a million of "deltas"/transactions.
So far that address has:
balance 141,968,805.958
received -100,594,862,333.46
I got the numbers by iterating over the address deltas, summarized the values divided by 100 million (sats.

What version of Ravencoin are you using?

v4.6.1 windows (same on Linux/Ubuntu)

@Chief-Prince-Of-Function
Copy link
Contributor

Curious, is that negative number the delta from sent and received? Do you have an idea of what the expected number should be and is it different than shown?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants