1
0

(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
This commit is contained in:
SomberNight
2023-09-12 14:05:12 +00:00
parent 6819f685d7
commit 139eb632d7
2 changed files with 1 additions and 3 deletions

View File

@@ -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 = _(

View File

@@ -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(