From 2bffc9d3eb3866e6e3fce59be0986e3024f6566d Mon Sep 17 00:00:00 2001 From: bitromortac Date: Fri, 5 Feb 2021 21:52:13 +0100 Subject: [PATCH] lnpeer: fix timed out mpp --- electrum/lnpeer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py index 9bc30e275..87377f758 100644 --- a/electrum/lnpeer.py +++ b/electrum/lnpeer.py @@ -1434,7 +1434,7 @@ class Peer(Logger): if accepted: return preimage, None elif expired: - reason = OnionRoutingFailureMessage(code=OnionFailureCode.MPP_TIMEOUT) + reason = OnionRoutingFailureMessage(code=OnionFailureCode.MPP_TIMEOUT, data=b'') return None, reason else: # waiting for more htlcs