summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Mota <miguelmota2@gmail.com>2020-08-24 21:45:06 -0700
committerMiguel Mota <miguelmota2@gmail.com>2020-08-24 21:45:06 -0700
commit52c4da8c70b61de2e62c43c424b5739fc97cdfe2 (patch)
treea6248ffc070d3062e72c784486f05352bdeb7b3f
parent26956fcaca1198d1b0aabfaae1bf3d8273d864df (diff)
Update CHANGELOGv1.5.4
-rw-r--r--CHANGELOG.md4
-rw-r--r--cointop/cointop.go2
-rw-r--r--cointop/list.go2
3 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2cd879e..d5b8b0a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [1.5.4] - 2020-08-24
+### Fixed
+- Rank order for low market cap coins
+
## [1.5.3] - 2020-08-14
### Fixed
- Build error
diff --git a/cointop/cointop.go b/cointop/cointop.go
index 2d1b9ad..b7a07c2 100644
--- a/cointop/cointop.go
+++ b/cointop/cointop.go
@@ -325,7 +325,7 @@ func NewCointop(config *Config) (*Cointop, error) {
// can remove this after everyone has cleared their cache
for _, v := range allCoinsSlugMap {
// Some APIs returns rank 0 for new coins
- // or coins with low activity so we need to put them
+ // or coins with low market cap data so we need to put them
// at the end of the list.
if v.Rank == 0 {
v.Rank = 10000
diff --git a/cointop/list.go b/cointop/list.go
index a01c1f6..30679ed 100644
--- a/cointop/list.go
+++ b/cointop/list.go
@@ -70,7 +70,7 @@ func (ct *Cointop) processCoins(coins []types.Coin) {
// Fix for https://github.com/miguelmota/cointop/issues/59
// some APIs returns rank 0 for new coins
- // or coins with low activity so we need to put them
+ // or coins with low market cap data so we need to put them
// at the end of the list
if v.Rank == 0 {
v.Rank = 10000