Remove unnecessary PaymentPreimage clone

This commit is contained in:
Jeffrey Czyz 2024-04-22 16:43:26 -05:00
parent 2c0fcf21f2
commit d6900723df
No known key found for this signature in database
GPG key ID: 912EF12EA67705F5

View file

@ -5548,7 +5548,7 @@ where
}
}
let purpose = events::PaymentPurpose::from_parts(
payment_preimage.clone(),
payment_preimage,
payment_data.payment_secret,
payment_context.clone(),
);