mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Log block disconnection in ChannelMonitor
This commit is contained in:
parent
09d2a71352
commit
5aa95baa8d
1 changed files with 1 additions and 0 deletions
|
@ -2556,6 +2556,7 @@ impl ChannelMonitor {
|
|||
}
|
||||
|
||||
fn block_disconnected(&mut self, height: u32, block_hash: &Sha256dHash, broadcaster: &BroadcasterInterface, fee_estimator: &FeeEstimator) {
|
||||
log_trace!(self, "Block {} at height {} disconnected", block_hash, height);
|
||||
let mut bump_candidates = HashMap::new();
|
||||
if let Some(events) = self.onchain_events_waiting_threshold_conf.remove(&(height + ANTI_REORG_DELAY - 1)) {
|
||||
//We may discard:
|
||||
|
|
Loading…
Add table
Reference in a new issue