cloud functions - rm noisy logs
This commit is contained in:
parent
bd62e1fba1
commit
c478bdd552
|
@ -294,7 +294,6 @@ func TvlCumulative(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
||||||
notional := asset.Amount * asset.TokenPrice
|
notional := asset.Amount * asset.TokenPrice
|
||||||
if notional <= 0 {
|
if notional <= 0 {
|
||||||
log.Printf("skipping token with no/negative value. notional: %v, chain: %v, symbol %v, address %v", notional, chain, asset.Symbol, asset.Address)
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -380,7 +380,6 @@ func TVL(w http.ResponseWriter, r *http.Request) {
|
||||||
currentPrice := tokenPrices[coinId]
|
currentPrice := tokenPrices[coinId]
|
||||||
notionalVal := amount * currentPrice
|
notionalVal := amount * currentPrice
|
||||||
if notionalVal <= 0 {
|
if notionalVal <= 0 {
|
||||||
log.Printf("skipping token with no value. chain: %v, symbol %v, address %v", chain, lockedAsset.Symbol, lockedAsset.Address)
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue