File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1455,16 +1455,13 @@ where
1455
1455
let ( offer_paths, paths_expiry) = {
1456
1456
let path_absolute_expiry =
1457
1457
duration_since_epoch. saturating_add ( DEFAULT_ASYNC_RECEIVE_OFFER_EXPIRY ) ;
1458
- let context = OffersContext :: StaticInvoiceRequested {
1458
+ let context = MessageContext :: Offers ( OffersContext :: StaticInvoiceRequested {
1459
1459
recipient_id : recipient_id. clone ( ) ,
1460
1460
path_absolute_expiry,
1461
1461
invoice_id,
1462
- } ;
1463
- match self . create_blinded_paths_using_absolute_expiry (
1464
- context,
1465
- Some ( path_absolute_expiry) ,
1466
- peers,
1467
- ) {
1462
+ } ) ;
1463
+
1464
+ match self . create_blinded_paths ( peers, context) {
1468
1465
Ok ( paths) => ( paths, path_absolute_expiry) ,
1469
1466
Err ( ( ) ) => return None ,
1470
1467
}
You can’t perform that action at this time.
0 commit comments