We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dffdebf + c921100 commit 2ac17d0Copy full SHA for 2ac17d0
electrum/lnpeer.py
@@ -2016,7 +2016,7 @@ async def maybe_forward_trampoline(
2016
self.logger.debug(
2017
f"maybe_forward_trampoline. PaymentFailure for {payment_hash.hex()=}, {payment_secret.hex()=}: {e!r}")
2018
# FIXME: adapt the error code
2019
- raise OnionRoutingFailure(code=OnionFailureCode.UNKNOWN_NEXT_PEER, data=b'')
+ raise OnionRoutingFailure(code=OnionFailureCode.TRAMPOLINE_FEE_INSUFFICIENT, data=b'')
2020
2021
def _maybe_refuse_to_forward_htlc_that_corresponds_to_payreq_we_created(self, payment_hash: bytes) -> bool:
2022
"""Returns True if the HTLC should be failed.
0 commit comments