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.
1 parent fb58d21 commit 23b6465Copy full SHA for 23b6465
electrum/onion_message.py
@@ -474,6 +474,10 @@ async def process_forward_queue(self) -> None:
474
onion_packet_b = onion_packet.to_bytes()
475
next_peer = self.lnwallet.peers.get(node_id)
476
477
+ if not next_peer.their_features.supports(LnFeatures.OPTION_ONION_MESSAGE_OPT):
478
+ self.logger.debug('forward dropped, next peer is not ONION_MESSAGE capable')
479
+ continue
480
+
481
next_peer.send_message(
482
"onion_message",
483
path_key=blinding,
0 commit comments