Update ChannelManager's ChannelMonitor Arc to be a Deref
[rust-lightning] / lightning / src / util / test_utils.rs
index 6b3649bcf0ecc34075dffaa86b00f4982387a5dd..a069f8049b7b580a86342b056f65d88a9eea23c4 100644 (file)
@@ -46,7 +46,7 @@ impl chaininterface::FeeEstimator for TestFeeEstimator {
 
 pub struct TestChannelMonitor {
        pub added_monitors: Mutex<Vec<(OutPoint, channelmonitor::ChannelMonitor)>>,
-       pub simple_monitor: Arc<channelmonitor::SimpleManyChannelMonitor<OutPoint>>,
+       pub simple_monitor: channelmonitor::SimpleManyChannelMonitor<OutPoint>,
        pub update_ret: Mutex<Result<(), channelmonitor::ChannelMonitorUpdateErr>>,
 }
 impl TestChannelMonitor {