fix clippy (#715)

* fix clippy

* remove used id in codegen

* fix clippy again
This commit is contained in:
Niklas Adolfsson
2022-11-11 12:03:23 +01:00
committed by GitHub
parent 33a9ec91af
commit 9235d5041c
10 changed files with 18 additions and 20 deletions
+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