Skip to content

Commit

Permalink
prints ldk features
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Sep 3, 2024
1 parent 660f5c2 commit 0d6f59f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lightning/src/ln/peer_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1661,6 +1661,7 @@ impl<Descriptor: SocketDescriptor, CM: Deref, RM: Deref, OM: Deref, L: Deref, CM
}

let our_features = self.init_features(&their_node_id);
log_debug!(self.logger, "{:?}", our_features);
if msg.features.requires_unknown_bits_from(&our_features) {
log_debug!(logger, "Peer {} requires features unknown to us: {:?}",
log_pubkey!(their_node_id), msg.features.required_unknown_bits_from(&our_features));
Expand Down

0 comments on commit 0d6f59f

Please sign in to comment.