mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
EXPERMENTAL_FEATURES: Import onion message types.
This tracks https://github.com/lightningnetwork/lightning-rfc/pull/759 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -488,6 +488,9 @@ static struct io_plan *peer_msg_in(struct io_conn *conn,
|
||||
case WIRE_CHANNEL_REESTABLISH:
|
||||
case WIRE_ANNOUNCEMENT_SIGNATURES:
|
||||
case WIRE_GOSSIP_TIMESTAMP_FILTER:
|
||||
#if EXPERIMENTAL_FEATURES
|
||||
case WIRE_ONION_MESSAGE:
|
||||
#endif
|
||||
status_broken("peer %s: relayed unexpected msg of type %s",
|
||||
type_to_string(tmpctx, struct node_id, &peer->id),
|
||||
wire_type_name(fromwire_peektype(msg)));
|
||||
|
||||
Reference in New Issue
Block a user