mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Remove unnecessary PaymentPreimage clone
This commit is contained in:
parent
2c0fcf21f2
commit
d6900723df
1 changed files with 1 additions and 1 deletions
|
@ -5548,7 +5548,7 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let purpose = events::PaymentPurpose::from_parts(
|
let purpose = events::PaymentPurpose::from_parts(
|
||||||
payment_preimage.clone(),
|
payment_preimage,
|
||||||
payment_data.payment_secret,
|
payment_data.payment_secret,
|
||||||
payment_context.clone(),
|
payment_context.clone(),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue