Skip to content

Commit 4e89d79

Browse files
committed
f
1 parent d41106f commit 4e89d79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5506,7 +5506,7 @@ where
55065506
self.do_chain_event(Some(height), |channel| channel.transactions_confirmed(&block_hash, height, txdata, self.genesis_hash.clone(), self.get_our_node_id(), &self.logger)
55075507
.map(|(a, b)| (a, Vec::new(), b)));
55085508

5509-
let last_best_block = self.best_block.read().unwrap().clone();
5509+
let last_best_block = self.best_block.read().unwrap();
55105510
if height < last_best_block.height() {
55115511
let timestamp = self.highest_seen_timestamp.load(Ordering::Acquire);
55125512
self.do_chain_event(Some(last_best_block.height()), |channel| channel.best_block_updated(last_best_block.height(), timestamp as u32, self.genesis_hash.clone(), self.get_our_node_id(), &self.logger));

0 commit comments

Comments
 (0)