From 48d238556e7cdbd186fb90854f46882417520967 Mon Sep 17 00:00:00 2001 From: PraetorP Date: Wed, 15 Nov 2023 09:46:11 +0000 Subject: [PATCH] refactor(test app promo): fix comment --- --- a/js-packages/tests/sub/appPromotion/appPromotion.test.ts +++ b/js-packages/tests/sub/appPromotion/appPromotion.test.ts @@ -983,7 +983,7 @@ function calculateIncome(base: bigint, iter = 0, calcPeriod: bigint = UNLOCKING_PERIOD): bigint { const DAY = 7200n; const ACCURACY = 1_000_000_000n; - // 5n / 10_000n = 0.05% p/day + // 453_256n / 1_000_000_000n = 0.0453256% /day const income = base + base * (ACCURACY * (calcPeriod * 453_256n) / (1_000_000_000n * DAY)) / ACCURACY ; if(iter > 1) { -- gitstuff