From bf4528ba1607339b98d7ebe1ac0c4875cd94fe4f Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Tue, 17 Sep 2024 20:22:20 -0400 Subject: [PATCH] Fix unused warning in fuzz. --- fuzz/src/onion_message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/src/onion_message.rs b/fuzz/src/onion_message.rs index 5cd45238df2..8730539458c 100644 --- a/fuzz/src/onion_message.rs +++ b/fuzz/src/onion_message.rs @@ -120,7 +120,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,