mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +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:
@@ -31,6 +31,9 @@ static bool unknown_type(enum wire_type t)
|
||||
case WIRE_QUERY_CHANNEL_RANGE:
|
||||
case WIRE_REPLY_CHANNEL_RANGE:
|
||||
case WIRE_GOSSIP_TIMESTAMP_FILTER:
|
||||
#if EXPERIMENTAL_FEATURES
|
||||
case WIRE_ONION_MESSAGE:
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
@@ -68,6 +71,9 @@ bool is_msg_for_gossipd(const u8 *cursor)
|
||||
case WIRE_CHANNEL_REESTABLISH:
|
||||
case WIRE_ANNOUNCEMENT_SIGNATURES:
|
||||
case WIRE_GOSSIP_TIMESTAMP_FILTER:
|
||||
#if EXPERIMENTAL_FEATURES
|
||||
case WIRE_ONION_MESSAGE:
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user