Skip to content

Commit e13ff10

Browse files
authored
Merge pull request #2431 from arik-so/2023-07-public-excess-data
2 parents 78f59a5 + b28769b commit e13ff10

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lightning/src/ln/msgs.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,11 @@ pub struct UnsignedChannelAnnouncement {
973973
pub bitcoin_key_1: NodeId,
974974
/// The funding key for the second node
975975
pub bitcoin_key_2: NodeId,
976-
pub(crate) excess_data: Vec<u8>,
976+
/// Excess data which was signed as a part of the message which we do not (yet) understand how
977+
/// to decode.
978+
///
979+
/// This is stored to ensure forward-compatibility as new fields are added to the lightning gossip protocol.
980+
pub excess_data: Vec<u8>,
977981
}
978982
/// A [`channel_announcement`] message to be sent to or received from a peer.
979983
///

0 commit comments

Comments
 (0)