File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -789,6 +789,8 @@ pub enum Event {
789
789
/// If the recipient or an intermediate node misbehaves and gives us free money, this may
790
790
/// overstate the amount paid, though this is unlikely.
791
791
///
792
+ /// This is only `None` for payments initiated on LDK versions prior to 0.0.103.
793
+ ///
792
794
/// [`Route::get_total_fees`]: crate::routing::router::Route::get_total_fees
793
795
fee_paid_msat : Option < u64 > ,
794
796
} ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ pub(crate) enum PendingOutboundPayment {
71
71
keysend_preimage : Option < PaymentPreimage > ,
72
72
custom_tlvs : Vec < ( u64 , Vec < u8 > ) > ,
73
73
pending_amt_msat : u64 ,
74
- /// Used to track the fee paid. Only present if the payment was serialized on 0.0.103+.
74
+ /// Used to track the fee paid. Present iff the payment was serialized on 0.0.103+.
75
75
pending_fee_msat : Option < u64 > ,
76
76
/// The total payment amount across all paths, used to verify that a retry is not overpaying.
77
77
total_msat : u64 ,
You can’t perform that action at this time.
0 commit comments