We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1cc139 commit 84a9e77Copy full SHA for 84a9e77
metadata/src/utils/validation.rs
@@ -660,7 +660,7 @@ impl<'a> MetadataHasher<'a> {
660
661
// Get the hashes of outer enums, considering only `specific_pallets` (if any are set).
662
// 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());
+ let outer_enum_hashes = OuterEnumHashes::new(metadata, self.specific_pallets.as_deref());
664
665
let pallet_hash = metadata.pallets().fold([0u8; HASH_LEN], |bytes, pallet| {
666
// If specific pallets are given, only include this pallet if it is in the specific pallets.
0 commit comments