fn get_preimage_and_payment_hash(
kind: &PaymentKind,
) -> (Option<Preimage>, Option<Hash>, PaymentKind)
Expand description
Maps LDK’s PaymentKind
to an optional preimage and an optional payment
hash depending on the type of payment.
fn get_preimage_and_payment_hash(
kind: &PaymentKind,
) -> (Option<Preimage>, Option<Hash>, PaymentKind)
Maps LDK’s PaymentKind
to an optional preimage and an optional payment
hash depending on the type of payment.