Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Oct 31, 2024
2 parents 283d2a6 + 225577e commit 2b4396f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/rates/market.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,6 @@ func convertedStonFiPoolResponse(pools map[ton.AccountID]float64, respBody io.Re
if !ok {
return LpAsset{}, fmt.Errorf("failed to parse total supply")
}
if totalSupply.Cmp(big.NewInt(int64(defaultMinReserve))) < 0 {
return LpAsset{}, fmt.Errorf("the total supply is less than the minimum value")
}
decimals, err := strconv.Atoi(record[10])
if err != nil {
return LpAsset{}, err
Expand Down Expand Up @@ -644,9 +641,6 @@ func convertedDeDustPoolResponse(pools map[ton.AccountID]float64, respBody io.Re
if !ok {
return LpAsset{}, fmt.Errorf("failed to parse total supply")
}
if totalSupply.Cmp(big.NewInt(int64(defaultMinReserve))) < 0 {
return LpAsset{}, fmt.Errorf("the total supply is less than the minimum value")
}
decimals, err := strconv.Atoi(record[13])
if err != nil {
return LpAsset{}, err
Expand Down

0 comments on commit 2b4396f

Please sign in to comment.