mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-02-02 04:54:21 +01:00
don't warn about 100k if using LSPS
This commit is contained in:
committed by
Tony Giorgio
parent
ba062d5cd2
commit
7480461ac2
@@ -32,7 +32,10 @@ export function ReceiveWarnings(props: {
|
||||
if (state.federations?.length !== 0 && props.from_fedi_to_ln !== true) {
|
||||
return undefined;
|
||||
}
|
||||
if ((state.balance?.lightning || 0n) === 0n) {
|
||||
if (
|
||||
(state.balance?.lightning || 0n) === 0n &&
|
||||
!state.settings?.lsps_connection_string
|
||||
) {
|
||||
return i18n.t("receive.amount_editable.receive_too_small", {
|
||||
amount: "100,000"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user