mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-18 06:44:27 +01:00
lengthen interval, set mainnet channel size to 50k
This commit is contained in:
committed by
Tony Giorgio
parent
bc85263c30
commit
2dfbcf96ee
@@ -8,6 +8,7 @@ import pencil from "~/assets/icons/pencil.svg";
|
||||
import { InlineAmount } from "./AmountCard";
|
||||
import { DIALOG_CONTENT, DIALOG_POSITIONER } from "~/styles/dialogs";
|
||||
import { InfoBox } from "./InfoBox";
|
||||
import { Network } from "~/logic/mutinyWalletSetup";
|
||||
|
||||
const CHARACTERS = ["1", "2", "3", "4", "5", "6", "7", "8", "9", ".", "0", "DEL"];
|
||||
|
||||
@@ -59,7 +60,12 @@ export const AmountEditable: ParentComponent<{
|
||||
|
||||
const warningText = () => {
|
||||
if ((store.balance?.lightning || 0n) === 0n) {
|
||||
return "Your first lightning receive needs to be 10,000 sats or greater.";
|
||||
const network = state.mutiny_wallet?.get_network() as Network;
|
||||
if (network === "bitcoin") {
|
||||
return "Your first lightning receive needs to be 50,000 sats or greater.";
|
||||
} else {
|
||||
return "Your first lightning receive needs to be 10,000 sats or greater.";
|
||||
}
|
||||
}
|
||||
|
||||
const parsed = Number(displayAmount());
|
||||
|
||||
Reference in New Issue
Block a user