Actually hold the total_consistency_lock instead of take-and-drop
[rust-lightning] / lightning / src / ln / chanmon_update_fail_tests.rs
index 0b9bdf5367a36853e5d4111ef14fa2b6c1a3742d..e6eb9e6a24aadbc5cb08cfc0423201d969333f52 100644 (file)
@@ -12,7 +12,7 @@
 //! There are a bunch of these as their handling is relatively error-prone so they are split out
 //! here. See also the chanmon_fail_consistency fuzz test.
 
-use chain::chainmonitor::ChannelMonitorUpdateErr;
+use chain::channelmonitor::ChannelMonitorUpdateErr;
 use chain::transaction::OutPoint;
 use ln::channelmanager::{RAACommitmentOrder, PaymentPreimage, PaymentHash, PaymentSecret, PaymentSendFailure};
 use ln::features::InitFeatures;