Skip to content

Commit 9c44274

Browse files
committed
f Add field comment
1 parent 89b9835 commit 9c44274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ impl Readable for CounterpartyCommitmentParameters {
340340
struct OnchainEventEntry {
341341
txid: Txid,
342342
height: u32,
343-
block_hash: Option<BlockHash>,
343+
block_hash: Option<BlockHash>, // Added as optional, but always filled in, in LDK 0.0.113
344344
event: OnchainEvent,
345345
transaction: Option<Transaction>, // Added as optional, but always filled in, in LDK 0.0.110
346346
}
@@ -2637,7 +2637,7 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
26372637
(claimable_outpoints, Some((htlc_txid, outputs)))
26382638
}
26392639

2640-
// Returns (1) `PackageTemplate`s that can be given to the OnChainTxHandler, so that the handler can
2640+
// Returns (1) `PackageTemplate`s that can be given to the OnchainTxHandler, so that the handler can
26412641
// broadcast transactions claiming holder HTLC commitment outputs and (2) a holder revokable
26422642
// script so we can detect whether a holder transaction has been seen on-chain.
26432643
fn get_broadcasted_holder_claims(&self, holder_tx: &HolderSignedTx, conf_height: u32) -> (Vec<PackageTemplate>, Option<(Script, PublicKey, PublicKey)>) {

0 commit comments

Comments
 (0)