Skip to content

Commit daff171

Browse files
committed
remove unnecessary clone in channel.rs
1 parent 167d346 commit daff171

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12525,9 +12525,9 @@ where
1252512525
self.context.pending_outbound_htlcs.push(OutboundHTLCOutput {
1252612526
htlc_id: self.context.next_holder_htlc_id,
1252712527
amount_msat,
12528-
payment_hash: payment_hash.clone(),
12528+
payment_hash,
1252912529
cltv_expiry,
12530-
state: OutboundHTLCState::LocalAnnounced(Box::new(onion_routing_packet.clone())),
12530+
state: OutboundHTLCState::LocalAnnounced(Box::new(onion_routing_packet)),
1253112531
source,
1253212532
blinding_point,
1253312533
skimmed_fee_msat,

0 commit comments

Comments
 (0)