]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix unused warning in fuzz.
authorValentine Wallace <vwallace@protonmail.com>
Wed, 18 Sep 2024 00:22:20 +0000 (20:22 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 24 Oct 2024 17:37:26 +0000 (10:37 -0700)
fuzz/src/onion_message.rs

index 09d1d9b6ba87a338e43fd48d7c7cf50623435f5f..a586cd61a86325e0251f3da74a292672c2257fef 100644 (file)
@@ -122,7 +122,7 @@ struct TestAsyncPaymentsMessageHandler {}
 
 impl AsyncPaymentsMessageHandler for TestAsyncPaymentsMessageHandler {
        fn held_htlc_available(
-               &self, message: HeldHtlcAvailable, responder: Option<Responder>,
+               &self, _message: HeldHtlcAvailable, responder: Option<Responder>,
        ) -> Option<(ReleaseHeldHtlc, ResponseInstruction)> {
                let responder = match responder {
                        Some(resp) => resp,