electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit d3d476f44c57cc9c545f9dabddf32897b84c784c
parent 31919d0425b1f5828d202f1bfb095eb8c5dfcff2
Author: ThomasV <thomasv@electrum.org>
Date:   Sat,  6 Mar 2021 00:31:30 +0100

lnpeer: fix error code in logs

Diffstat:
Melectrum/lnpeer.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py @@ -1891,7 +1891,7 @@ class Peer(Logger): preimage = self.lnworker.get_preimage(payment_hash) error_reason = self.lnworker.trampoline_forwarding_failures.pop(payment_hash, None) if error_reason: - self.logger.info(f'trampoline forwarding failure {error_reason}') + self.logger.info(f'trampoline forwarding failure: {error_reason.code_name()}') raise error_reason elif not forwarding_info: