The balance was calculated considering the stake output of a ticket as credit, which is not correct since that output can only be spent by a vote or revocation.
This PR updates the balance calculations not to consider the outputs that are not spendable by regular transactions.
Please note that this will result in a significant decrease of the balance shown to a user if he/she has staked funds.
The balance was calculated considering the stake output of a ticket as credit, which is not correct since that output can only be spent by a vote or revocation. This PR updates the balance calculations not to consider the outputs that are not spendable by regular transactions. Please note that this will result in a significant decrease of the balance shown to a user if he/she has staked funds.