fix clippy (#715)

* fix clippy

* remove used id in codegen

* fix clippy again
This commit is contained in:
Niklas Adolfsson authored and GitHub committed 2022-11-11 11:03:23 +00:00
1 parent 33a9ec91af
commit 9235d5041c
10 files changed
+18 -20

No files matched your search

+2 -2
View File
@@ -18,8 +18,8 @@ pub fn write_storage_address_root_bytes<Address: StorageAddress>(
addr: &Address,
out: &mut Vec<u8>,
) {
out.extend(&sp_core::twox_128(addr.pallet_name().as_bytes()));
out.extend(&sp_core::twox_128(addr.entry_name().as_bytes()));
out.extend(sp_core::twox_128(addr.pallet_name().as_bytes()));
out.extend(sp_core::twox_128(addr.entry_name().as_bytes()));
}
/// Outputs the [`storage_address_root_bytes`] as well as any additional bytes that represent