Skip to content

Commit

Permalink
fix clippy complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
Aimeedeer committed Nov 4, 2022
1 parent 02acda7 commit 77e50ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/realtps_import/src/clients/substrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ fn storage_key(pallet: &'static str, storage: &'static str) -> Vec<u8> {
let storage = sp_core::twox_128(storage.as_bytes());

let mut bytes = vec![];
bytes.extend(&pallet);
bytes.extend(&storage);
bytes.extend(pallet);
bytes.extend(storage);

bytes
}
Expand Down
1 change: 1 addition & 0 deletions src/realtps_import/src/import.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::all)]
use crate::client::Client;
use crate::delay;
use crate::helpers::*;
Expand Down

0 comments on commit 77e50ec

Please sign in to comment.