LoopringSecondary / relay

Loopring relay node with ring-mining capability
Apache License 2.0
73 stars 29 forks source link

how can i solve this : can't sync marketcap at time #578

Open af913337456 opened 6 years ago

af913337456 commented 6 years ago

full error msg below:

2018-05-31T11:22:22.345+0800    error   token:BAT, id:batcoin, can't sync marketcap at time:1527736942, it't last updated time:0
github.com/Loopring/relay/log.Errorf

Be thrown out at:

// syncMarketCap func
for _, tokenCap := range p.tokenMarketCaps {
                if _, exists := syncedTokens[tokenCap.Address]; !exists && "VITE" != tokenCap.Symbol && "ARP" != tokenCap.Symbol {
                    //todo:
                    log.Errorf("token:%s, id:%s, can't sync marketcap at time:%d, it't last updated time:%d",
                        tokenCap.Symbol, tokenCap.Id, time.Now().Unix(), tokenCap.LastUpdated)
                }
            }
af913337456 commented 6 years ago

Should we just ignore BAT ?