diff --git a/substrate/primitives/trie/src/lib.rs b/substrate/primitives/trie/src/lib.rs index 0cf268856bb459019ef8d610e4336fb16e1cf1c7..f6131c8ed5eed6015c0a4fa8c18ffbd99469afba 100644 --- a/substrate/primitives/trie/src/lib.rs +++ b/substrate/primitives/trie/src/lib.rs @@ -91,7 +91,6 @@ pub type PlainDB<'a, K> = dyn hash_db::PlainDB<K, trie_db::DBValue> + 'a; /// key conflict for non random keys). pub type PrefixedMemoryDB<H> = memory_db::MemoryDB<H, memory_db::PrefixedKey<H>, trie_db::DBValue>; /// Reexport from `hash_db`, with genericity set for `Hasher` trait. -/// This uses the `KeyFunction` for prefixing keys internally (avoiding /// This uses a noops `KeyFunction` (key addressing must be hashed or using /// an encoding scheme that avoid key conflict). pub type MemoryDB<H> = memory_db::MemoryDB<H, memory_db::HashKey<H>, trie_db::DBValue>;