Skip to content

Commit 8f46b8c

Browse files
committed
f link docs and tweak them slightly
1 parent 6c71499 commit 8f46b8c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3404,16 +3404,17 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
34043404
/// Updates channel state to take note of transactions which were confirmed in the given block
34053405
/// at the given height.
34063406
///
3407-
/// Note that you must still call update_best_block with the block information which is
3408-
/// included here.
3407+
/// Note that you must still call (or have called) [`update_best_block`] with the block
3408+
/// information which is included here.
34093409
///
3410-
/// This method may be called before or after update_best_block for a given block's transaction
3411-
/// data and may be called multiple times with additional transaction data for a given block.
3410+
/// This method may be called before or after [`update_best_block`] for a given block's
3411+
/// transaction data and may be called multiple times with additional transaction data for a
3412+
/// given block.
34123413
///
3413-
/// This method may be called for a previous block after an update_best_block() call has been
3414-
/// made for a later block, however it must *not* be called with transaction data from a block
3415-
/// which is no longer in the best chain (ie where update_best_block() has already been
3416-
/// informed about a blockchain reorganization which no longer includes the block which
3414+
/// This method may be called for a previous block after an [`update_best_block()`] call has
3415+
/// been made for a later block, however it must *not* be called with transaction data from a
3416+
/// block which is no longer in the best chain (ie where [`update_best_block()`] has already
3417+
/// been informed about a blockchain reorganization which no longer includes the block which
34173418
/// corresponds to `header`).
34183419
pub fn transactions_confirmed(&self, header: &BlockHeader, height: u32, txdata: &TransactionData) {
34193420
// Note that we MUST NOT end up calling methods on self.chain_monitor here - we're called

0 commit comments

Comments
 (0)