diff --git a/substrate/core/rpc/src/state/mod.rs b/substrate/core/rpc/src/state/mod.rs index 474dfe10ed..a229dad138 100644 --- a/substrate/core/rpc/src/state/mod.rs +++ b/substrate/core/rpc/src/state/mod.rs @@ -88,7 +88,8 @@ pub trait StateApi { fn child_storage( &self, child_storage_key: StorageKey, - key: StorageKey, hash: Option + key: StorageKey, + hash: Option ) -> Result>; /// Returns the hash of a child storage entry at a block's state. @@ -96,7 +97,8 @@ pub trait StateApi { fn child_storage_hash( &self, child_storage_key: StorageKey, - key: StorageKey, hash: Option + key: StorageKey, + hash: Option ) -> Result>; /// Returns the size of a child storage entry at a block's state.