@@ -211,7 +211,7 @@ fn test_claim_value_force_close() {
211
211
assert_eq ! ( sorted_vec( vec![ ClaimableBalance :: ClaimableOnChannelClose {
212
212
claimable_amount_satoshis: 1_000_000 - 3_000 - 1_000 - 3 - chan_feerate *
213
213
( channel:: COMMITMENT_TX_BASE_WEIGHT + channel:: COMMITMENT_TX_WEIGHT_PER_HTLC ) / 1000 ,
214
- } , ClaimableBalance :: PossiblyClaimableHTLCAwaitingTimeout {
214
+ } , ClaimableBalance :: MaybeClaimableHTLCAwaitingTimeout {
215
215
claimable_amount_satoshis: 3_000 ,
216
216
claimable_height: htlc_cltv_timeout,
217
217
} ] ) ,
@@ -238,7 +238,7 @@ fn test_claim_value_force_close() {
238
238
3 - // The dust HTLC value in satoshis
239
239
// The commitment transaction fee with one HTLC output:
240
240
chan_feerate * ( channel:: COMMITMENT_TX_BASE_WEIGHT + channel:: COMMITMENT_TX_WEIGHT_PER_HTLC ) / 1000 ,
241
- } , ClaimableBalance :: PossiblyClaimableHTLCAwaitingTimeout {
241
+ } , ClaimableBalance :: MaybeClaimableHTLCAwaitingTimeout {
242
242
claimable_amount_satoshis: 3_000 ,
243
243
claimable_height: htlc_cltv_timeout,
244
244
} ] ) ,
@@ -283,7 +283,7 @@ fn test_claim_value_force_close() {
283
283
claimable_amount_satoshis: 1_000_000 - 3_000 - 1_000 - 3 - chan_feerate *
284
284
( channel:: COMMITMENT_TX_BASE_WEIGHT + channel:: COMMITMENT_TX_WEIGHT_PER_HTLC ) / 1000 ,
285
285
confirmation_height: nodes[ 0 ] . best_block_info( ) . 1 + ANTI_REORG_DELAY - 1 ,
286
- } , ClaimableBalance :: PossiblyClaimableHTLCAwaitingTimeout {
286
+ } , ClaimableBalance :: MaybeClaimableHTLCAwaitingTimeout {
287
287
claimable_amount_satoshis: 3_000 ,
288
288
claimable_height: htlc_cltv_timeout,
289
289
} ] ) ,
@@ -308,7 +308,7 @@ fn test_claim_value_force_close() {
308
308
309
309
// After ANTI_REORG_DELAY, A will consider its balance fully spendable and generate a
310
310
// `SpendableOutputs` event. However, B still has to wait for the CSV delay.
311
- assert_eq ! ( vec![ ClaimableBalance :: PossiblyClaimableHTLCAwaitingTimeout {
311
+ assert_eq ! ( vec![ ClaimableBalance :: MaybeClaimableHTLCAwaitingTimeout {
312
312
claimable_amount_satoshis: 3_000 ,
313
313
claimable_height: htlc_cltv_timeout,
314
314
} ] ,
@@ -337,7 +337,7 @@ fn test_claim_value_force_close() {
337
337
// possibly-claimable up to ANTI_REORG_DELAY, at which point it will drop it.
338
338
mine_transaction ( & nodes[ 0 ] , & b_broadcast_txn[ 0 ] ) ;
339
339
expect_payment_sent ! ( nodes[ 0 ] , payment_preimage) ;
340
- assert_eq ! ( vec![ ClaimableBalance :: PossiblyClaimableHTLCAwaitingTimeout {
340
+ assert_eq ! ( vec![ ClaimableBalance :: MaybeClaimableHTLCAwaitingTimeout {
341
341
claimable_amount_satoshis: 3_000 ,
342
342
claimable_height: htlc_cltv_timeout,
343
343
} ] ,
0 commit comments