1
0

add back "lightning is experimental" warning text

This commit is contained in:
SomberNight
2021-03-30 19:55:48 +02:00
parent 8ea2b4432a
commit 2cebdc8c1c

View File

@@ -22,10 +22,16 @@ To prevent fund losses, please save this backup on another device.
It may be imported in another Electrum wallet with the same seed. It may be imported in another Electrum wallet with the same seed.
""" """
MSG_LIGHTNING_WARNING = """ MSG_LIGHTNING_EXPERIMENTAL_WARNING = """
Lightning support in Electrum is experimental. Do not put large amounts in lightning channels.
"""
MSG_LIGHTNING_SCB_WARNING = """
Electrum uses static channel backups. If you lose your wallet file, you will need to request your channel to be force-closed by the remote peer in order to recover your funds. This assumes that the remote peer is reachable, and has not lost its own data. Electrum uses static channel backups. If you lose your wallet file, you will need to request your channel to be force-closed by the remote peer in order to recover your funds. This assumes that the remote peer is reachable, and has not lost its own data.
""" """
MSG_LIGHTNING_WARNING = MSG_LIGHTNING_EXPERIMENTAL_WARNING + MSG_LIGHTNING_SCB_WARNING
MSG_HELP_TRAMPOLINE = """ MSG_HELP_TRAMPOLINE = """
Lightning payments require finding a path through the Lightning Network. You may use trampoline routing, or local routing (gossip). Lightning payments require finding a path through the Lightning Network. You may use trampoline routing, or local routing (gossip).