chia-blockchain
chia-blockchain copied to clipboard
[CHIA-712] Fix CATWallet pending_change calculation
This fixes the pending change number for CAT and CR-CAT wallets. The logic was a smidge flawed before and due to some poorly written tests this was fine. Tweaking the logic to fix the better written tests is the purpose of this change.