|
|
@ -325,7 +325,7 @@ func NewCointop(config *Config) (*Cointop, error) {
|
|
|
|
// can remove this after everyone has cleared their cache
|
|
|
|
// can remove this after everyone has cleared their cache
|
|
|
|
for _, v := range allCoinsSlugMap {
|
|
|
|
for _, v := range allCoinsSlugMap {
|
|
|
|
// Some APIs returns rank 0 for new coins
|
|
|
|
// 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.
|
|
|
|
// at the end of the list.
|
|
|
|
if v.Rank == 0 {
|
|
|
|
if v.Rank == 0 {
|
|
|
|
v.Rank = 10000
|
|
|
|
v.Rank = 10000
|
|
|
|