From: Valentine Wallace Date: Wed, 18 Sep 2024 00:22:20 +0000 (-0400) Subject: Fix unused warning in fuzz. X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=cdc0c3b581527bfc389db1621bf24c638eab2dbf;p=rust-lightning Fix unused warning in fuzz. --- diff --git a/fuzz/src/onion_message.rs b/fuzz/src/onion_message.rs index 09d1d9b6b..a586cd61a 100644 --- a/fuzz/src/onion_message.rs +++ b/fuzz/src/onion_message.rs @@ -122,7 +122,7 @@ struct TestAsyncPaymentsMessageHandler {} impl AsyncPaymentsMessageHandler for TestAsyncPaymentsMessageHandler { fn held_htlc_available( - &self, message: HeldHtlcAvailable, responder: Option, + &self, _message: HeldHtlcAvailable, responder: Option, ) -> Option<(ReleaseHeldHtlc, ResponseInstruction)> { let responder = match responder { Some(resp) => resp,