1 use lightning::chain::channelmonitor;
2 use lightning::chain::transaction::OutPoint;
3 use lightning::util::enforcing_trait_impls::EnforcingChannelKeys;
5 pub struct TestPersister {}
6 impl channelmonitor::Persist<EnforcingChannelKeys> for TestPersister {
7 fn persist_new_channel(&self, _funding_txo: OutPoint, _data: &channelmonitor::ChannelMonitor<EnforcingChannelKeys>) -> Result<(), channelmonitor::ChannelMonitorUpdateErr> {
11 fn update_persisted_channel(&self, _funding_txo: OutPoint, _update: &channelmonitor::ChannelMonitorUpdate, _data: &channelmonitor::ChannelMonitor<EnforcingChannelKeys>) -> Result<(), channelmonitor::ChannelMonitorUpdateErr> {