From 1498941f257cf666f0acb6d7eafde4add42a9ddf Mon Sep 17 00:00:00 2001
From: wangjj9219 <183318287@qq.com>
Date: Mon, 14 Sep 2020 20:10:09 +0800
Subject: [PATCH] remove redundant generic (#282)

---
 utilities/src/iterator.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utilities/src/iterator.rs b/utilities/src/iterator.rs
index b0e2dbd..c2e26c6 100644
--- a/utilities/src/iterator.rs
+++ b/utilities/src/iterator.rs
@@ -78,7 +78,7 @@ impl<K: Decode + Sized, V: Decode + Sized, H: ReversibleStorageHasher> Iterator
 }
 
 /// A strongly-typed map in storage whose keys and values can be iterated over.
-pub trait IterableStorageMapExtended<H, K: FullEncode, V: FullCodec>: StorageMap<K, V> {
+pub trait IterableStorageMapExtended<K: FullEncode, V: FullCodec>: StorageMap<K, V> {
 	/// The type that iterates over all `(key, value)`.
 	type Iterator: Iterator<Item = (K, V)>;
 
@@ -92,7 +92,7 @@ pub trait IterableStorageMapExtended<H, K: FullEncode, V: FullCodec>: StorageMap
 	fn drain(max_iterations: Option<u32>, start_key: Option<Vec<u8>>) -> Self::Iterator;
 }
 
-impl<K: FullCodec, V: FullCodec, G: StorageMapT<K, V>> IterableStorageMapExtended<G::Hasher, K, V> for G
+impl<K: FullCodec, V: FullCodec, G: StorageMapT<K, V>> IterableStorageMapExtended<K, V> for G
 where
 	G::Hasher: ReversibleStorageHasher,
 {
-- 
GitLab