]> git.bitcoin.ninja Git - rust-lightning/commit
Refactor OutboundPayments::retry_payment_internal
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 1 Sep 2023 21:23:27 +0000 (16:23 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 7 Sep 2023 21:55:22 +0000 (16:55 -0500)
commit283d9b4e03b8b91fe8448ead94f63b0e1750e48e
tree54aeb9c3a8000d8e3e0c272a6b9096d814f4eb74
parentb5169301d8d1b0c74c0b796be0e06acc122b766d
Refactor OutboundPayments::retry_payment_internal

Consolidate the creation and insertion of onion_session_privs to the
PendingOutboundPayment::Retryable arm. In an upcoming commit, this
method will be reused for an initial BOLT 12 invoice payment. However,
onion_session_privs are created using a different helper.
lightning/src/ln/outbound_payment.rs