Skip to content

Commit 84a9e77

Browse files
committed
clippy
1 parent f1cc139 commit 84a9e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metadata/src/utils/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ impl<'a> MetadataHasher<'a> {
660660

661661
// Get the hashes of outer enums, considering only `specific_pallets` (if any are set).
662662
// If any of the typed that represent outer enums are encountered later, hashes from `top_level_enum_hashes` can be substituted.
663-
let outer_enum_hashes = OuterEnumHashes::new(&metadata, self.specific_pallets.as_deref());
663+
let outer_enum_hashes = OuterEnumHashes::new(metadata, self.specific_pallets.as_deref());
664664

665665
let pallet_hash = metadata.pallets().fold([0u8; HASH_LEN], |bytes, pallet| {
666666
// If specific pallets are given, only include this pallet if it is in the specific pallets.

0 commit comments

Comments
 (0)