cointop-sh / cointop

A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
https://cointop.sh
Apache License 2.0
3.94k stars 309 forks source link

Fixing corrupted coin rank issue when using portfolio coins. #323

Open beachwood23 opened 10 months ago

beachwood23 commented 10 months ago

Resolves issue https://github.com/cointop-sh/cointop/issues/322.

Issue: A coin's rank becomes corrupted when the coin is present in the portfolio view. This PR resolves the issue by making a deep copy of coin's for the portfolio view, so the coin rankings in the portfolio view are not written back to the global coin map.

beachwood23 commented 9 months ago

@miguelmota , any extra work you would like to see here to address this? I am new to contributing on GitHub, so apologies if I am leaving something out.