Skip to content

Commit d7e2bff

Browse files
committed
f - fix fuzz test
1 parent fb7dcde commit d7e2bff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

fuzz/src/utils/test_persister.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use lightning::chain;
2-
use lightning::chain::transaction::OutPoint;
32
use lightning::chain::{chainmonitor, channelmonitor};
43
use lightning::util::test_channel_signer::TestChannelSigner;
54

@@ -10,17 +9,17 @@ pub struct TestPersister {
109
}
1110
impl chainmonitor::Persist<TestChannelSigner> for TestPersister {
1211
fn persist_new_channel(
13-
&self, _funding_txo: OutPoint, _data: &channelmonitor::ChannelMonitor<TestChannelSigner>,
12+
&self, _data: &channelmonitor::ChannelMonitor<TestChannelSigner>,
1413
) -> chain::ChannelMonitorUpdateStatus {
1514
self.update_ret.lock().unwrap().clone()
1615
}
1716

1817
fn update_persisted_channel(
19-
&self, _funding_txo: OutPoint, _update: Option<&channelmonitor::ChannelMonitorUpdate>,
18+
&self, _update: Option<&channelmonitor::ChannelMonitorUpdate>,
2019
_data: &channelmonitor::ChannelMonitor<TestChannelSigner>,
2120
) -> chain::ChannelMonitorUpdateStatus {
2221
self.update_ret.lock().unwrap().clone()
2322
}
2423

25-
fn archive_persisted_channel(&self, _: OutPoint) {}
24+
fn archive_persisted_channel(&self, _: &channelmonitor::ChannelMonitor<TestChannelSigner>) {}
2625
}

0 commit comments

Comments
 (0)