Skip to content

Commit

Permalink
f: remove unnecessary mut
Browse files Browse the repository at this point in the history
  • Loading branch information
arik-so committed Dec 4, 2024
1 parent 2056f92 commit 9f2928b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/ln/onion_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ fn build_trampoline_onion_payloads<'a>(
}

fn build_trampoline_onion_payloads_callback<'a, H, B, F>(
hops: H, mut blinded_tail: BlindedTailHopIter<'a, B>, total_msat: u64,
hops: H, blinded_tail: BlindedTailHopIter<'a, B>, total_msat: u64,
recipient_onion: &'a RecipientOnionFields, starting_htlc_offset: u32,
keysend_preimage: &Option<PaymentPreimage>, mut callback: F,
) -> Result<(u64, u32), APIError>
Expand Down

0 comments on commit 9f2928b

Please sign in to comment.