From 13b1b0596058ab37f1c1070d6ce88ab5c981ea62 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Fri, 21 Jun 2024 17:03:06 +1000 Subject: [PATCH] Fix clippy --- slasher/src/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slasher/src/database.rs b/slasher/src/database.rs index 81e9faa5bd..13c5d2b774 100644 --- a/slasher/src/database.rs +++ b/slasher/src/database.rs @@ -865,7 +865,7 @@ mod test { let decoded_on_disk = IndexedAttestationOnDisk::from_ssz_bytes(&encoded).unwrap(); assert_eq!(decoded_on_disk, on_disk); - let decoded = on_disk.into_indexed_attestation(&spec).unwrap(); + let decoded = on_disk.into_indexed_attestation(spec).unwrap(); assert_eq!(decoded, fork_attestation); }