diff --git a/src/components/AmountEditable.tsx b/src/components/AmountEditable.tsx index 2465031..4f6be05 100644 --- a/src/components/AmountEditable.tsx +++ b/src/components/AmountEditable.tsx @@ -410,7 +410,7 @@ export const AmountEditable: ParentComponent<{ const network = state.mutiny_wallet?.get_network() as Network; if (network === "bitcoin") { return i18n.t("receive.amount_editable.receive_too_small", { - amount: "50,000" + amount: "100,000" }); } else { return i18n.t("receive.amount_editable.receive_too_small", { diff --git a/src/i18n/en/translations.ts b/src/i18n/en/translations.ts index 3015a53..5172e8e 100644 --- a/src/i18n/en/translations.ts +++ b/src/i18n/en/translations.ts @@ -531,7 +531,7 @@ export default { "Copy this gift URL to your recipient, or ask them to scan this QR code with their wallet.", send_another: "Create Another", send_small_warning: - "A brand new Mutiny user won't be able to redeem fewer than 50k sats.", + "A brand new Mutiny user won't be able to redeem fewer than 100k sats.", send_cta: "Create a gift", send_delete_button: "Delete Gift", send_delete_confirm: diff --git a/src/routes/Gift.tsx b/src/routes/Gift.tsx index 29f6459..23fb64e 100644 --- a/src/routes/Gift.tsx +++ b/src/routes/Gift.tsx @@ -66,12 +66,12 @@ function InboundWarning() { const network = state.mutiny_wallet?.get_network() as Network; - const threshold = network === "bitcoin" ? 50000 : 10000; + const threshold = network === "bitcoin" ? 100000 : 10000; const balance = state.balance?.lightning || 0n; if (balance === 0n && amount < threshold) { return i18n.t("settings.gift.receive_too_small", { - amount: network === "bitcoin" ? "50,000" : "10,000" + amount: network === "bitcoin" ? "100,000" : "10,000" }); } diff --git a/src/routes/Swap.tsx b/src/routes/Swap.tsx index 741a8b9..54c4f8c 100644 --- a/src/routes/Swap.tsx +++ b/src/routes/Swap.tsx @@ -201,7 +201,7 @@ export default function Swap() { if (network === "bitcoin") { return ( (!!selectedPeer() || !!hasLsp()) && - amountSats() >= 50000n && + amountSats() >= 100000n && amountSats() <= balance ); } else { @@ -220,8 +220,8 @@ export default function Swap() { const network = state.mutiny_wallet?.get_network() as Network; - if (network === "bitcoin" && amountSats() < 50000n) { - return i18n.t("swap.channel_too_small", { amount: "50,000" }); + if (network === "bitcoin" && amountSats() < 100000n) { + return i18n.t("swap.channel_too_small", { amount: "100,000" }); } if (amountSats() < 10000n) { diff --git a/src/routes/settings/Gift.tsx b/src/routes/settings/Gift.tsx index 09a8fa3..510749c 100644 --- a/src/routes/settings/Gift.tsx +++ b/src/routes/settings/Gift.tsx @@ -141,7 +141,7 @@ export default function GiftPage() { const [giftForm, { Form, Field }] = createForm({ initialValues: { name: "", - amount: "50000" + amount: "100000" } }); @@ -198,8 +198,8 @@ export default function GiftPage() { } }); - const lessThan50k = () => { - return Number(getValue(giftForm, "amount")) < 50000; + const lessThanMinChannelSize = () => { + return Number(getValue(giftForm, "amount")) < 100000; }; const selfHosted = state.settings?.selfhosted === "true"; @@ -309,7 +309,7 @@ export default function GiftPage() { )} - + {i18n.t( "settings.gift.send_small_warning"