Skip to content

Commit 6b75faf

Browse files
committed
Fix new unused variable warning in test_utils.rs
1 parent add71d4 commit 6b75faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/util/test_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ impl<Signer: sign::WriteableEcdsaChannelSigner> chainmonitor::Persist<Signer> fo
423423
chain::ChannelMonitorUpdateStatus::Completed
424424
}
425425

426-
fn update_persisted_channel(&self, funding_txo: OutPoint, update: Option<&channelmonitor::ChannelMonitorUpdate>, _data: &channelmonitor::ChannelMonitor<Signer>, update_id: MonitorUpdateId) -> chain::ChannelMonitorUpdateStatus {
426+
fn update_persisted_channel(&self, funding_txo: OutPoint, _update: Option<&channelmonitor::ChannelMonitorUpdate>, _data: &channelmonitor::ChannelMonitor<Signer>, update_id: MonitorUpdateId) -> chain::ChannelMonitorUpdateStatus {
427427
let mut ret = chain::ChannelMonitorUpdateStatus::Completed;
428428
if let Some(update_ret) = self.update_rets.lock().unwrap().pop_front() {
429429
ret = update_ret;

0 commit comments

Comments
 (0)