Skip to content

Commit bcfd285

Browse files
committed
f - Rephrase update_best_block docs
1 parent 172c1b3 commit bcfd285

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,10 +1362,9 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
13621362
/// block.
13631363
///
13641364
/// Must be called after new blocks become available for the most recent block. Intermediary
1365-
/// blocks, however, may be safely skipped. For a chain reorganization, must either be:
1366-
/// * called at at the fork point and then again for the most recent block -- intermediary
1367-
/// blocks may be skipped as before -- or
1368-
/// * not called in favor of calling [`transaction_unconfirmed`] for any affected transactions.
1365+
/// blocks, however, may be safely skipped. In the event of a chain re-organization, this only
1366+
/// needs to be called for the most recent block assuming `transaction_unconfirmed` is called
1367+
/// for any affected transactions.
13691368
///
13701369
/// [`block_connected`]: Self::block_connected
13711370
/// [`transactions_confirmed`]: Self::transactions_confirmed

0 commit comments

Comments
 (0)