]> git.bitcoin.ninja Git - rust-lightning/commitdiff
[fuzz] Fix misc warnings in full_stack_target
authorMatt Corallo <git@bluematt.me>
Fri, 19 Jan 2024 01:12:14 +0000 (01:12 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 5 Feb 2024 23:54:06 +0000 (23:54 +0000)
fuzz/src/full_stack.rs

index ff2e98c65430fa4bd01c6a21201de39fb98397c6..fee8ba50f044b6054dc54f6495af2a6af847ba5d 100644 (file)
@@ -424,7 +424,7 @@ pub fn do_test(mut data: &[u8], logger: &Arc<dyn Logger>) {
 
        let our_network_key = match SecretKey::from_slice(&data[..32]) {
                Ok(key) => key,
-               Err(e) => return,
+               Err(_) => return,
        };
        data = &data[32..];