multi: remove listeners field and method from ChainWatchInterface
[rust-lightning] / lightning / src / ln / channelmonitor.rs
index a31c5bc504d02d49e6c155adf885e4d2fa737c1b..dc385f6b63f1f15f5815836f267bbac7f68e2927 100644 (file)
@@ -223,8 +223,7 @@ impl<Key : Send + cmp::Eq + hash::Hash + 'static> SimpleManyChannelMonitor<Key>
                        logger,
                        fee_estimator: feeest,
                });
-               let weak_res = Arc::downgrade(&res);
-               res.chain_monitor.register_listener(weak_res);
+
                res
        }