lnpeer: fix timed out mpp
This commit is contained in:
@@ -1434,7 +1434,7 @@ class Peer(Logger):
|
|||||||
if accepted:
|
if accepted:
|
||||||
return preimage, None
|
return preimage, None
|
||||||
elif expired:
|
elif expired:
|
||||||
reason = OnionRoutingFailureMessage(code=OnionFailureCode.MPP_TIMEOUT)
|
reason = OnionRoutingFailureMessage(code=OnionFailureCode.MPP_TIMEOUT, data=b'')
|
||||||
return None, reason
|
return None, reason
|
||||||
else:
|
else:
|
||||||
# waiting for more htlcs
|
# waiting for more htlcs
|
||||||
|
|||||||
Reference in New Issue
Block a user