diff --git a/src/services/CoinGeckoPriceProvider.ts b/src/services/CoinGeckoPriceProvider.ts index b8729a0..be7ec66 100644 --- a/src/services/CoinGeckoPriceProvider.ts +++ b/src/services/CoinGeckoPriceProvider.ts @@ -23,7 +23,7 @@ export class CoinGeckoPriceProvider implements IPriceProvider { if (result.data[tokenSymbol]) { const price = result.data[tokenSymbol][currency]; - return Number(price); + return Number(price ?? 0); } }