X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2Fsrc%2Futil%2Ftest_utils.rs;h=f0743c1f061f3ead55453e556a0f6c9759b3cd27;hb=523fcb6f3f16b8cd79cd2c5f21c4f92923ccc0e3;hp=4b40123434c9602b8871d682d676e9dfe56d756f;hpb=20a25967efd1b331f7faed3629617164fa1b40ec;p=rust-lightning diff --git a/lightning/src/util/test_utils.rs b/lightning/src/util/test_utils.rs index 4b401234..f0743c1f 100644 --- a/lightning/src/util/test_utils.rs +++ b/lightning/src/util/test_utils.rs @@ -98,9 +98,7 @@ impl<'a> TestChainMonitor<'a> { } } } -impl<'a> chain::Watch for TestChainMonitor<'a> { - type ChanSigner = EnforcingSigner; - +impl<'a> chain::Watch for TestChainMonitor<'a> { fn watch_channel(&self, funding_txo: OutPoint, monitor: channelmonitor::ChannelMonitor) -> Result<(), channelmonitor::ChannelMonitorUpdateErr> { // At every point where we get a monitor update, we should be able to send a useful monitor // to a watchtower and disk...