Skip to content

Commit d690072

Browse files
committed
Remove unnecessary PaymentPreimage clone
1 parent 2c0fcf2 commit d690072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5548,7 +5548,7 @@ where
55485548
}
55495549
}
55505550
let purpose = events::PaymentPurpose::from_parts(
5551-
payment_preimage.clone(),
5551+
payment_preimage,
55525552
payment_data.payment_secret,
55535553
payment_context.clone(),
55545554
);

0 commit comments

Comments
 (0)