wormhole-explorer/jobs/internal/coingecko
agodnic 0ec1cb86e2
Use decimals instead of floats in price cache (#362)
## Description

Previously, the notional cache was using the `float64` type to manipulate price data. Since floating point types can't represent price data accurately, this commit changes the codebase to use a lossless representation (i.e.: `decimal.Decimal`).
2023-05-31 16:24:40 -03:00
..
coingecko.go Use decimals instead of floats in price cache (#362) 2023-05-31 16:24:40 -03:00