Skip to content

Commit 2c9be7c

Browse files
uncomment the is_stable field for the dedust pool
1 parent 700f3bd commit 2c9be7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/rates/market.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -492,9 +492,9 @@ func convertedDedustPoolResponse(pools map[ton.AccountID]float64, respBody io.Re
492492
return ton.AccountID{}, 0, err
493493
}
494494
var isStable bool
495-
//if record[8] == "true" { // TODO: waiting db update
496-
// isStable = true
497-
//}
495+
if record[8] == "true" {
496+
isStable = true
497+
}
498498
calculatedAccount, price := calculatePoolPrice(firstAsset, secondAsset, firstReserve, secondReserve, firstDecimals, secondDecimals, pools, isStable)
499499

500500
return calculatedAccount, price, nil

0 commit comments

Comments
 (0)