@@ -568,7 +568,7 @@ pub enum ClaimableBalance {
568
568
/// HTLCs which we sent to our counterparty which are claimable after a timeout (less on-chain
569
569
/// fees) if the counterparty does not know the preimage for the HTLCs. These are somewhat
570
570
/// likely to be claimed by our counterparty before we do.
571
- PossiblyClaimableHTLCAwaitingTimeout {
571
+ MaybeClaimableHTLCAwaitingTimeout {
572
572
/// The amount available to claim, in satoshis, ignoring the on-chain fees which will be
573
573
/// required to do so.
574
574
claimable_amount_satoshis : u64 ,
@@ -1381,7 +1381,7 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
1381
1381
if us. htlcs_resolved_on_chain. iter( ) . any( |v| v. input_idx == htlc_input_idx) {
1382
1382
assert!( us. funding_spend_confirmed. is_some( ) ) ;
1383
1383
} else if htlc. offered == $holder_commitment {
1384
- res. push( ClaimableBalance :: PossiblyClaimableHTLCAwaitingTimeout {
1384
+ res. push( ClaimableBalance :: MaybeClaimableHTLCAwaitingTimeout {
1385
1385
claimable_amount_satoshis: htlc. amount_msat / 1000 ,
1386
1386
claimable_height: htlc. cltv_expiry,
1387
1387
} ) ;
@@ -1428,7 +1428,7 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
1428
1428
for ( htlc, _, _) in us. current_holder_commitment_tx . htlc_outputs . iter ( ) {
1429
1429
if htlc. transaction_output_index . is_none ( ) { continue ; }
1430
1430
if htlc. offered {
1431
- res. push ( ClaimableBalance :: PossiblyClaimableHTLCAwaitingTimeout {
1431
+ res. push ( ClaimableBalance :: MaybeClaimableHTLCAwaitingTimeout {
1432
1432
claimable_amount_satoshis : htlc. amount_msat / 1000 ,
1433
1433
claimable_height : htlc. cltv_expiry ,
1434
1434
} ) ;
0 commit comments