Skip to content

Commit 9f2928b

Browse files
committed
f: remove unnecessary mut
1 parent 2056f92 commit 9f2928b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/onion_utils.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ fn build_trampoline_onion_payloads<'a>(
209209
}
210210

211211
fn build_trampoline_onion_payloads_callback<'a, H, B, F>(
212-
hops: H, mut blinded_tail: BlindedTailHopIter<'a, B>, total_msat: u64,
212+
hops: H, blinded_tail: BlindedTailHopIter<'a, B>, total_msat: u64,
213213
recipient_onion: &'a RecipientOnionFields, starting_htlc_offset: u32,
214214
keysend_preimage: &Option<PaymentPreimage>, mut callback: F,
215215
) -> Result<(u64, u32), APIError>

0 commit comments

Comments
 (0)