Closed cuteolaf closed 9 months ago
Fix negative staked amount on the validator page
https://x.taostats.io/validators/5Dz8ShM6rtPw1GBAaqxjycT9LF1TC3iDpzpUH9gKr85Nizo6#delegation
This happens for validators with only 1 nominator.
The staked amount is updated every block on chain, but we fetch the value every epoch. That's why we see the negative balance.
SOLUTION: we should handle such validators as an edge case.
Fix for the backend https://github.com/TaoStats/bittensor-indexer/issues/62
Fix negative staked amount on the validator page
https://x.taostats.io/validators/5Dz8ShM6rtPw1GBAaqxjycT9LF1TC3iDpzpUH9gKr85Nizo6#delegation
This happens for validators with only 1 nominator.
The staked amount is updated every block on chain, but we fetch the value every epoch. That's why we see the negative balance.
SOLUTION: we should handle such validators as an edge case.