mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
follow-up prev commit...
This commit is contained in:
parent
a8c14e65ad
commit
887b643706
1 changed files with 1 additions and 1 deletions
|
@ -1150,7 +1150,7 @@ class Peer(Logger):
|
||||||
return None, None, OnionRoutingFailureMessage(code=OnionFailureCode.PERMANENT_CHANNEL_FAILURE, data=b'')
|
return None, None, OnionRoutingFailureMessage(code=OnionFailureCode.PERMANENT_CHANNEL_FAILURE, data=b'')
|
||||||
chain = self.network.blockchain()
|
chain = self.network.blockchain()
|
||||||
if chain.is_tip_stale():
|
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:
|
try:
|
||||||
next_chan_scid = processed_onion.hop_data.payload["short_channel_id"]["short_channel_id"]
|
next_chan_scid = processed_onion.hop_data.payload["short_channel_id"]["short_channel_id"]
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Add table
Reference in a new issue