Skip to content

Commit 36ae0c1

Browse files
committed
f Only print enum variant name now that we've dropped Display
1 parent 70c2ccb commit 36ae0c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4460,7 +4460,7 @@ where
44604460

44614461
log_info!(
44624462
WithContext::from(&self.logger, Some(*counterparty_node_id), Some(msg.channel_id), Some(msg.payment_hash)),
4463-
"Failed to accept/forward incoming HTLC: {:?} - {}", reason, reason,
4463+
"Failed to accept/forward incoming HTLC: {:?}", reason,
44644464
);
44654465
// If `msg.blinding_point` is set, we must always fail with malformed.
44664466
if msg.blinding_point.is_some() {

lightning/src/ln/priv_short_conf_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ fn test_inbound_scid_privacy() {
450450
check_added_monitors(&nodes[1], 1);
451451

452452
nodes[1].logger.assert_log_regex("lightning::ln::channelmanager",
453-
regex::Regex::new(r"Forward using real SCID over aliased channel rejected").unwrap(), 1);
453+
regex::Regex::new(r"RealSCIDForward").unwrap(), 1);
454454

455455
let mut updates = get_htlc_update_msgs!(nodes[1], nodes[0].node.get_our_node_id());
456456
nodes[0].node.handle_update_fail_htlc(nodes[1].node.get_our_node_id(), &updates.update_fail_htlcs[0]);

0 commit comments

Comments
 (0)