Skip to content

Commit 10757c7

Browse files
committed
Introduce VerifiedAsyncPaymentContext
1 parent b477604 commit 10757c7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lightning/src/blinded_path/message.rs

+8
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,14 @@ pub enum AsyncPaymentsContext {
446446
},
447447
}
448448

449+
/// Contains verified data specific to an [`AsyncPaymentsContext`].
450+
pub enum VerifiedAsyncPaymentContext {
451+
/// Verified data corresponding to [`AsyncPaymentsContext::OutboundPayment`].
452+
OutboundPayment(PaymentId),
453+
/// Verified data corresponding to [`AsyncPaymentsContext::OutboundPayment`].
454+
InboundPayment,
455+
}
456+
449457
impl_writeable_tlv_based_enum!(MessageContext,
450458
{0, Offers} => (),
451459
{1, Custom} => (),

0 commit comments

Comments
 (0)