tfollow-up prev commit... - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 887b643706c262eb05134a698fbed7fd79005dbf
DIR parent a8c14e65ad5af4f77d8fece13173723f343477af
HTML Author: ThomasV <thomasv@electrum.org>
Date: Tue, 5 May 2020 09:58:50 +0200
follow-up prev commit...
Diffstat:
M electrum/lnpeer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/electrum/lnpeer.py b/electrum/lnpeer.py
t@@ -1150,7 +1150,7 @@ class Peer(Logger):
return None, None, OnionRoutingFailureMessage(code=OnionFailureCode.PERMANENT_CHANNEL_FAILURE, data=b'')
chain = self.network.blockchain()
if chain.is_tip_stale():
- return OnionRoutingFailureMessage(code=OnionFailureCode.TEMPORARY_NODE_FAILURE, data=b'')
+ return None, None, OnionRoutingFailureMessage(code=OnionFailureCode.TEMPORARY_NODE_FAILURE, data=b'')
try:
next_chan_scid = processed_onion.hop_data.payload["short_channel_id"]["short_channel_id"]
except: