File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -717,9 +717,10 @@ where
717
717
LdkEvent :: PaymentForwarded {
718
718
prev_channel_id,
719
719
next_channel_id,
720
- fee_earned_msat ,
720
+ total_fee_earned_msat ,
721
721
claim_from_onchain_tx,
722
722
outbound_amount_forwarded_msat,
723
+ ..
723
724
} => {
724
725
let read_only_network_graph = self . network_graph . read_only ( ) ;
725
726
let nodes = read_only_network_graph. nodes ( ) ;
@@ -752,7 +753,7 @@ where
752
753
let to_next_str =
753
754
format ! ( " to {}{}" , node_str( & next_channel_id) , channel_str( & next_channel_id) ) ;
754
755
755
- let fee_earned = fee_earned_msat . unwrap_or ( 0 ) ;
756
+ let fee_earned = total_fee_earned_msat . unwrap_or ( 0 ) ;
756
757
let outbound_amount_forwarded_msat = outbound_amount_forwarded_msat. unwrap_or ( 0 ) ;
757
758
if claim_from_onchain_tx {
758
759
log_info ! (
You can’t perform that action at this time.
0 commit comments