Skip to content

Commit 7a583bb

Browse files
committed
Remove unused mem::drop which drops a reference
1 parent 6b75faf commit 7a583bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lightning/src/chain/chainmonitor.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ where C::Target: chain::Filter,
324324
if self.update_monitor_with_chain_data(header, best_height, txdata, &process, funding_outpoint, &monitor_state).is_err() {
325325
// Take the monitors lock for writing so that we poison it and any future
326326
// operations going forward fail immediately.
327-
core::mem::drop(monitor_state);
328327
core::mem::drop(monitor_lock);
329328
let _poison = self.monitors.write().unwrap();
330329
log_error!(self.logger, "{}", err_str);

0 commit comments

Comments
 (0)