This PR fixes a slight inflation bug. When the outputs exceed the inputs in an SLP token transaction, the entire transaction is considered invalid and the tokens are burned, as per the SLP specification. This rule was being followed in terms of calculating address balances. But the burned UTXO was not being deleted, so some wallets could have included the burned tokens in their calculations. This PR deletes the burned UTXO, in addition to the existing behavior which deducted burned tokens from the token balance.
This PR fixes a slight inflation bug. When the outputs exceed the inputs in an SLP token transaction, the entire transaction is considered invalid and the tokens are burned, as per the SLP specification. This rule was being followed in terms of calculating address balances. But the burned UTXO was not being deleted, so some wallets could have included the burned tokens in their calculations. This PR deletes the burned UTXO, in addition to the existing behavior which deducted burned tokens from the token balance.