File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ impl Readable for Route {
417
417
let blinded_tails = blinded_tails. unwrap_or ( Vec :: new ( ) ) ;
418
418
if blinded_tails. len ( ) != 0 {
419
419
if blinded_tails. len ( ) != paths. len ( ) { return Err ( DecodeError :: InvalidValue ) }
420
- for ( mut path, blinded_tail_opt) in paths. iter_mut ( ) . zip ( blinded_tails. into_iter ( ) ) {
420
+ for ( path, blinded_tail_opt) in paths. iter_mut ( ) . zip ( blinded_tails. into_iter ( ) ) {
421
421
path. blinded_tail = blinded_tail_opt;
422
422
}
423
423
}
@@ -1221,7 +1221,7 @@ impl<'a> PaymentPath<'a> {
1221
1221
cur_hop_fees_msat = self . hops . get ( i + 1 ) . unwrap ( ) . 0 . hop_use_fee_msat ;
1222
1222
}
1223
1223
1224
- let mut cur_hop = & mut self . hops . get_mut ( i) . unwrap ( ) . 0 ;
1224
+ let cur_hop = & mut self . hops . get_mut ( i) . unwrap ( ) . 0 ;
1225
1225
cur_hop. next_hops_fee_msat = total_fee_paid_msat;
1226
1226
// Overpay in fees if we can't save these funds due to htlc_minimum_msat.
1227
1227
// We try to account for htlc_minimum_msat in scoring (add_entry!), so that nodes don't
You can’t perform that action at this time.
0 commit comments