Large numbers shows as negative
dicklarsson opened this issue · 1 comments
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)
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?