Incorrectly saying insufficient currency

I’m trying to upgrade this hero, I have just enough currency, but it won’t let me upgrade.

It’s just a rounding issue. You could have 1.596 crystals, which rounds to 1.60K, but isn’t enough to purchase the upgrade. Just walk a few more steps for a little more energy, you’re that close!