Skip to content

Commit 2a20a82

Browse files
committed
f rename possibly -> maybe
1 parent 048fd9a commit 2a20a82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ pub enum ClaimableBalance {
568568
/// HTLCs which we sent to our counterparty which are claimable after a timeout (less on-chain
569569
/// fees) if the counterparty does not know the preimage for the HTLCs. These are somewhat
570570
/// likely to be claimed by our counterparty before we do.
571-
PossiblyClaimableHTLCAwaitingTimeout {
571+
MaybeClaimableHTLCAwaitingTimeout {
572572
/// The amount available to claim, in satoshis, ignoring the on-chain fees which will be
573573
/// required to do so.
574574
claimable_amount_satoshis: u64,
@@ -1381,7 +1381,7 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
13811381
if us.htlcs_resolved_on_chain.iter().any(|v| v.input_idx == htlc_input_idx) {
13821382
assert!(us.funding_spend_confirmed.is_some());
13831383
} else if htlc.offered == $holder_commitment {
1384-
res.push(ClaimableBalance::PossiblyClaimableHTLCAwaitingTimeout {
1384+
res.push(ClaimableBalance::MaybeClaimableHTLCAwaitingTimeout {
13851385
claimable_amount_satoshis: htlc.amount_msat / 1000,
13861386
claimable_height: htlc.cltv_expiry,
13871387
});
@@ -1428,7 +1428,7 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
14281428
for (htlc, _, _) in us.current_holder_commitment_tx.htlc_outputs.iter() {
14291429
if htlc.transaction_output_index.is_none() { continue; }
14301430
if htlc.offered {
1431-
res.push(ClaimableBalance::PossiblyClaimableHTLCAwaitingTimeout {
1431+
res.push(ClaimableBalance::MaybeClaimableHTLCAwaitingTimeout {
14321432
claimable_amount_satoshis: htlc.amount_msat / 1000,
14331433
claimable_height: htlc.cltv_expiry,
14341434
});

0 commit comments

Comments
 (0)