mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-24 11:29:55 +00:00
minor fix (#7828)
This commit is contained in:
1 parent
6d6794ea71
commit
d2eb87f5fc
6 files changed
+11
-10
No files matched your search
@@ -98,7 +98,7 @@ pub trait ExtensionStore {
|
||||
/// instead of this function to get type system support and automatic type downcasting.
|
||||
fn extension_by_type_id(&mut self, type_id: TypeId) -> Option<&mut dyn Any>;
|
||||
|
||||
/// Register extension `extension` with speciifed `type_id`.
|
||||
/// Register extension `extension` with specified `type_id`.
|
||||
///
|
||||
/// It should return error if extension is already registered.
|
||||
fn register_extension_with_type_id(&mut self, type_id: TypeId, extension: Box<dyn Extension>) -> Result<(), Error>;
|
||||
|
||||
@@ -34,7 +34,7 @@ use sp_core::storage::PrefixedStorageKey;
|
||||
/// is inserted (because digest block will includes all keys from this entry).
|
||||
/// When there's a fork, entries are pruned when first changes trie is inserted.
|
||||
pub struct BuildCache<H, N> {
|
||||
/// Map of block (implies changes true) number => changes trie root.
|
||||
/// Map of block (implies changes trie) number => changes trie root.
|
||||
roots_by_number: HashMap<N, H>,
|
||||
/// Map of changes trie root => set of storage keys that are in this trie.
|
||||
/// The `Option<Vec<u8>>` in inner `HashMap` stands for the child storage key.
|
||||
|
||||
Reference in new issue
Block a user