diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py index df90c2cd2..dbef400df 100644 --- a/electrum/lnpeer.py +++ b/electrum/lnpeer.py @@ -1212,7 +1212,7 @@ class Peer(Logger): except BaseException as e: self.logger.info(f"failed to forward htlc: error sending message. {e}") data = outgoing_chan_upd_len + outgoing_chan_upd - return OnionRoutingFailureMessage(code=OnionFailureCode.TEMPORARY_CHANNEL_FAILURE, data=data) + return None, None, OnionRoutingFailureMessage(code=OnionFailureCode.TEMPORARY_CHANNEL_FAILURE, data=data) return next_chan_scid, next_htlc.htlc_id, None def maybe_fulfill_htlc(self, *, chan: Channel, htlc: UpdateAddHtlc,