Skip to content

Commit f5fa49d

Browse files
committed
Update dependent call from payment_hash function
1 parent 1104754 commit f5fa49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/outbound_payment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ where
933933
IH: Fn() -> InFlightHtlcs,
934934
SP: Fn(SendAlongPathArgs) -> Result<(), APIError>,
935935
{
936-
let payment_hash = PaymentHash((*invoice.payment_hash()).to_byte_array());
936+
let payment_hash = invoice.payment_hash();
937937

938938
let amount = match (invoice.amount_milli_satoshis(), amount_msats) {
939939
(Some(amt), None) | (None, Some(amt)) => amt,

0 commit comments

Comments
 (0)