From 23c94819798c5c669def21947d504df1e48693b3 Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Thu, 25 Jul 2024 10:38:59 +0100 Subject: [PATCH] Increase the minimum prize amount --- frontend/app/src/components/home/PrizeContentBuilder.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/src/components/home/PrizeContentBuilder.svelte b/frontend/app/src/components/home/PrizeContentBuilder.svelte index ce0214f9ed..b63a7962e8 100644 --- a/frontend/app/src/components/home/PrizeContentBuilder.svelte +++ b/frontend/app/src/components/home/PrizeContentBuilder.svelte @@ -68,7 +68,7 @@ $: multiUserChat = chat.kind === "group_chat" || chat.kind === "channel"; $: remainingBalance = draftAmount > 0n ? cryptoBalance - draftAmount - totalFees : cryptoBalance; - $: minAmount = 10n * BigInt(numberOfWinners ?? 0) * transferFees; + $: minAmount = 100n * BigInt(numberOfWinners ?? 0) * transferFees; $: maxAmount = bigIntMax(cryptoBalance - totalFees, BigInt(0)); $: valid = error === undefined && tokenInputState === "ok" && !tokenChanging; $: zero = cryptoBalance <= transferFees && !tokenChanging;