From 139eb632d76c6ba121944f26082e66840dd292bd Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 12 Sep 2023 14:05:12 +0000 Subject: [PATCH] (trivial) follow-up paysession.use_two_trampolines arg change follow-up b2053c68f18b36f82d46714cdcebdb0c2c807380 - use_two_trampolines is already passed as arg to init - strings in gui/messages.py should not end with a newline --- electrum/gui/messages.py | 3 +-- electrum/tests/test_lnpeer.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/electrum/gui/messages.py b/electrum/gui/messages.py index 63fb2e004..af43d29be 100644 --- a/electrum/gui/messages.py +++ b/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 = _( diff --git a/electrum/tests/test_lnpeer.py b/electrum/tests/test_lnpeer.py index 0ac776d87..3884d9d61 100644 --- a/electrum/tests/test_lnpeer.py +++ b/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(