Move pending-HTLC-updated ChannelMonitor from ManyChannelMonitor
[rust-lightning] / fuzz / src / chanmon_consistency.rs
index c6f09abdc553755e184516f16ae64102babdfef8..bf0dda4da88455fa46176609b6636449593abe6a 100644 (file)
@@ -121,8 +121,8 @@ impl channelmonitor::ManyChannelMonitor<EnforcingChannelKeys> for TestChannelMon
                ret
        }
 
-       fn fetch_pending_htlc_updated(&self) -> Vec<HTLCUpdate> {
-               return self.simple_monitor.fetch_pending_htlc_updated();
+       fn get_and_clear_pending_htlcs_updated(&self) -> Vec<HTLCUpdate> {
+               return self.simple_monitor.get_and_clear_pending_htlcs_updated();
        }
 }