File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
lightning/src/blinded_path Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -47,18 +47,21 @@ pub enum BlindedPaymentTlvs {
47
47
}
48
48
49
49
impl BlindedPaymentTlvs {
50
+ // The fee used to get from the current hop to the next hop in the path.
50
51
fn fee_base_msat ( & self ) -> u32 {
51
52
match self {
52
53
Self :: Forward { payment_relay, .. } => payment_relay. fee_base_msat ,
53
54
_ => 0 ,
54
55
}
55
56
}
57
+ // The fee used to get from the current hop to the next hop in the path.
56
58
fn fee_proportional_millionths ( & self ) -> u32 {
57
59
match self {
58
60
Self :: Forward { payment_relay, .. } => payment_relay. fee_proportional_millionths ,
59
61
_ => 0 ,
60
62
}
61
63
}
64
+ // The delta used to get from the current hop to the next hop in the path.
62
65
fn cltv_expiry_delta ( & self ) -> u16 {
63
66
match self {
64
67
Self :: Forward { payment_relay, .. } => payment_relay. cltv_expiry_delta ,
You can’t perform that action at this time.
0 commit comments