Skip to content

Commit 8268719

Browse files
committed
Remove logging fields we don’t need
1 parent e73b8a2 commit 8268719

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lightning/src/routing/router.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -468,10 +468,7 @@ impl<'a> core::fmt::Debug for PathBuildingHop<'a> {
468468
f.debug_struct("PathBuildingHop")
469469
.field("node_id", &self.node_id)
470470
.field("short_channel_id", &self.candidate.short_channel_id())
471-
.field("next_hops_fee_msat", &self.next_hops_fee_msat)
472-
.field("hop_use_fee_msat", &self.hop_use_fee_msat)
473-
.field("total_fee_msat - next_hops_fee_msat", &(&self.total_fee_msat - &self.next_hops_fee_msat))
474-
.field("total_fee_msat - hop_use_fee_msat", &(&self.total_fee_msat - &self.hop_use_fee_msat))
471+
.field("total_fee_msat", &self.total_fee_msat)
475472
.field("path_penalty_msat", &self.path_penalty_msat)
476473
.field("path_htlc_minimum_msat", &self.path_htlc_minimum_msat)
477474
.field("cltv_expiry_delta", &self.candidate.cltv_expiry_delta())

0 commit comments

Comments
 (0)