@@ -16,7 +16,7 @@ use crate::chain::channelmonitor::{ANTI_REORG_DELAY, LATENCY_GRACE_PERIOD_BLOCKS
16
16
use crate :: chain:: transaction:: OutPoint ;
17
17
use crate :: chain:: keysinterface:: KeysInterface ;
18
18
use crate :: ln:: channel:: EXPIRE_PREV_CONFIG_TICKS ;
19
- use crate :: ln:: channelmanager:: { self , BREAKDOWN_TIMEOUT , ChannelManager , MPP_TIMEOUT_TICKS , MIN_CLTV_EXPIRY_DELTA , PaymentId , PaymentSendFailure , IDEMPOTENCY_TIMEOUT_TICKS , PendingPaymentDetails } ;
19
+ use crate :: ln:: channelmanager:: { self , BREAKDOWN_TIMEOUT , ChannelManager , MPP_TIMEOUT_TICKS , MIN_CLTV_EXPIRY_DELTA , PaymentId , PaymentSendFailure , IDEMPOTENCY_TIMEOUT_TICKS , RecentPaymentDetails } ;
20
20
use crate :: ln:: msgs;
21
21
use crate :: ln:: msgs:: ChannelMessageHandler ;
22
22
use crate :: routing:: router:: { PaymentParameters , get_route} ;
@@ -1282,7 +1282,7 @@ fn test_trivial_inflight_htlc_tracking(){
1282
1282
1283
1283
let pending_payments = nodes[ 0 ] . node . list_pending_payments ( ) ;
1284
1284
assert_eq ! ( pending_payments. len( ) , 1 ) ;
1285
- assert_eq ! ( pending_payments[ 0 ] , PendingPaymentDetails :: Fulfilled ) ;
1285
+ assert_eq ! ( pending_payments[ 0 ] , RecentPaymentDetails :: Fulfilled ) ;
1286
1286
}
1287
1287
1288
1288
// Remove fulfilled payment
@@ -1317,7 +1317,7 @@ fn test_trivial_inflight_htlc_tracking(){
1317
1317
1318
1318
let pending_payments = nodes[ 0 ] . node . list_pending_payments ( ) ;
1319
1319
assert_eq ! ( pending_payments. len( ) , 1 ) ;
1320
- assert_eq ! ( pending_payments[ 0 ] , PendingPaymentDetails :: Retryable { total_msat: 500000 } ) ;
1320
+ assert_eq ! ( pending_payments[ 0 ] , RecentPaymentDetails :: Retryable { total_msat: 500000 } ) ;
1321
1321
}
1322
1322
1323
1323
// Now, let's claim the payment. This should result in the used liquidity to return `None`.
0 commit comments