Browse Source

(trivial) follow-up paysession.use_two_trampolines arg change

follow-up b2053c68f1

- use_two_trampolines is already passed as arg to init
- strings in gui/messages.py should not end with a newline
master
SomberNight 2 years ago
parent
commit
139eb632d7
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/gui/messages.py
  2. 1
      electrum/tests/test_lnpeer.py

3
electrum/gui/messages.py

@ -52,8 +52,7 @@ Downloading the network gossip uses quite some bandwidth and storage, and is not
MSG_LEGACY_ADD_TRAMPOLINE = _(
"""When paying a non-trampoline invoice, add an extra trampoline to the route, in order to improve your privacy.
This will result in longer routes; it might increase your fees and decrease the success rate of your payments.
"""
This will result in longer routes; it might increase your fees and decrease the success rate of your payments."""
)
MGS_CONFLICTING_BACKUP_INSTANCE = _(

1
electrum/tests/test_lnpeer.py

@ -244,7 +244,6 @@ class MockLNWallet(Logger, EventListener, NetworkRetryManager[LNPeerAddr]):
uses_trampoline=False,
use_two_trampolines=False,
)
paysession.use_two_trampolines = False
payment_key = decoded_invoice.paymenthash + decoded_invoice.payment_secret
self._paysessions[payment_key] = paysession
return [r async for r in self.create_routes_for_payment(

Loading…
Cancel
Save