Browse Source

lnpeer: fix timed out mpp

patch-4
bitromortac 4 years ago
parent
commit
2bffc9d3eb
No known key found for this signature in database GPG Key ID: 1965063FC13BEBE2
  1. 2
      electrum/lnpeer.py

2
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

Loading…
Cancel
Save