Skip to content

Locked balance being double counted #654

@Fuzzbawls

Description

@Fuzzbawls

Describe the issue

Locked PIV balances are being "double counted" on the overview tab such that they cause the "Available" and "Total" values to be incorrect/over calculated.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Run GUI wallet
  2. Have locked coins (MN collateral or otherwise locked UTXO)

Expected behavior

Locked coins should not be reflected as "Available", and the calculation of "Total" represented as available + pending + immature + locked (this is currently the case, but with locked coins being included in available already, they are double counted)

Actual behavior

#598, while intending to clear up a separate calculation error, instead introduced another resulting in locked funds to be included as "Available"

What version of PIVX Core are you using?

PIVX Core v3.1.1 distribution package

Machine specs:

N/A (Applies to all)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions