Browse Source

add back "lightning is experimental" warning text

patch-4
SomberNight 4 years ago
parent
commit
2cebdc8c1c
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 8
      electrum/gui/messages.py

8
electrum/gui/messages.py

@ -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.
"""
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.
"""
MSG_LIGHTNING_WARNING = MSG_LIGHTNING_EXPERIMENTAL_WARNING + MSG_LIGHTNING_SCB_WARNING
MSG_HELP_TRAMPOLINE = """
Lightning payments require finding a path through the Lightning Network. You may use trampoline routing, or local routing (gossip).

Loading…
Cancel
Save