From c06d1fb13cab9e52fb0e9636a99a72ef98bb4d29 Mon Sep 17 00:00:00 2001 From: toniocodo Date: Fri, 2 Aug 2024 14:36:22 +0200 Subject: [PATCH] fix: derived prices precision --- libs/shared/providers/src/prices/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/shared/providers/src/prices/hooks.ts b/libs/shared/providers/src/prices/hooks.ts index ed1343fbe..e8dd3b24b 100644 --- a/libs/shared/providers/src/prices/hooks.ts +++ b/libs/shared/providers/src/prices/hooks.ts @@ -107,7 +107,7 @@ const pricesFetcher: ( allPrices[dep.id] = dep.dependsOn?.reduce( (acc, curr) => mul(acc, allPrices[curr]), - from(1), + from(1, 18), ) ?? from(0); }); } catch {}