@@ -1337,7 +1337,7 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
1337
1337
///
1338
1338
/// Used instead of [`block_disconnected`] by clients that are notified of transactions rather
1339
1339
/// than blocks. May be called before or after [`update_best_block`] for transactions in the
1340
- /// corresponding block. See [`update_best_block`] for further calling expectations.
1340
+ /// corresponding block. See [`update_best_block`] for further calling expectations.
1341
1341
///
1342
1342
/// [`block_disconnected`]: Self::block_disconnected
1343
1343
/// [`update_best_block`]: Self::update_best_block
@@ -1364,12 +1364,14 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
1364
1364
/// block.
1365
1365
///
1366
1366
/// Must be called after new blocks become available for the most recent block. Intermediary
1367
- /// blocks, however, may be safely skipped. For a chain reorganization, this must be called at
1368
- /// least at the fork point and then again for the most recent block; intermediary blocks may be
1369
- /// skipped as before.
1367
+ /// blocks, however, may be safely skipped. For a chain reorganization, must either be:
1368
+ /// * called at at the fork point and then again for the most recent block -- intermediary
1369
+ /// blocks may be skipped as before -- or
1370
+ /// * not called in favor of calling [`transaction_unconfirmed`] for any affected transactions.
1370
1371
///
1371
1372
/// [`block_connected`]: Self::block_connected
1372
1373
/// [`transactions_confirmed`]: Self::transactions_confirmed
1374
+ /// [`transaction_unconfirmed`]: Self::transaction_unconfirmed
1373
1375
pub fn update_best_block < B : Deref , F : Deref , L : Deref > (
1374
1376
& self ,
1375
1377
header : & BlockHeader ,
0 commit comments