Open
Description
Describe the issue
CGS now depends on coin age, but when I send small part of my balance, coin age resets and my CGS drops. It happens if coins I'm sending are from one bigger transaction.
Expected behaviour
When I'm sending part of my balance, it shouldn't matter what way I received the coins. If it was in many small transactions or one huge. Coin age should be calculated better, ignoring transactions to my own wallet.
Actual behaviour
When I received higher amount of coins in one transaction (e.g. 5000), and I want to send small part of it out of my wallet (e.g. 100), transaction is split as 100 to recipient and 4900 back to me. In this process, coin age resets and my CGS drop. For example transaction cadac5e971ad255e608b591c5d291ff6701bdc7c88b8afb1c637f3a017747cde