Skip to content

Commit 7450529

Browse files
fixup! store static invoice inside the PendingOutboundPayment::StaticInvoiceReceived
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 338356b commit 7450529

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/async_payments_tests.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::blinded_path::message::{MessageContext, OffersContext};
1111
use crate::blinded_path::payment::PaymentContext;
1212
use crate::blinded_path::payment::{AsyncBolt12OfferContext, BlindedPaymentTlvs};
1313
use crate::chain::channelmonitor::{HTLC_FAIL_BACK_BUFFER, LATENCY_GRACE_PERIOD_BLOCKS};
14-
use crate::events::{Event, HTLCDestination, PaidInvoice, PaymentFailureReason};
14+
use crate::events::{Event, HTLCDestination, PaidBolt12Invoice, PaymentFailureReason};
1515
use crate::ln::blinded_payment_tests::{fail_blinded_htlc_backwards, get_blinded_route_parameters};
1616
use crate::ln::channelmanager::{PaymentId, RecipientOnionFields};
1717
use crate::ln::functional_test_utils::*;
@@ -444,7 +444,7 @@ fn async_receive_flow_success() {
444444
let res =
445445
claim_payment_along_route(ClaimAlongRouteArgs::new(&nodes[0], route, keysend_preimage));
446446
assert!(res.is_some());
447-
assert_eq!(res, Some(PaidInvoice::StaticInvoice(static_invoice)));
447+
assert_eq!(res, Some(PaidBolt12Invoice::StaticInvoice(static_invoice)));
448448
}
449449

450450
#[cfg_attr(feature = "std", ignore)]

0 commit comments

Comments
 (0)