From bd7b194703ac3f3ed1cab7a1580a8f93dbd37570 Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov Date: Mon, 11 Dec 2023 16:01:48 +0300 Subject: [PATCH] Add missing docs --- crates/humanode-peer/src/service/frontier.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/humanode-peer/src/service/frontier.rs b/crates/humanode-peer/src/service/frontier.rs index adf197b65..74f9ed0ea 100644 --- a/crates/humanode-peer/src/service/frontier.rs +++ b/crates/humanode-peer/src/service/frontier.rs @@ -12,7 +12,7 @@ use super::{FrontierBackend, FullClient}; use crate::configuration::{EthereumRpc, FrontierBackendType}; /// Create frontier dir. -pub fn db_config_dir(config: &sc_service::Configuration) -> std::path::PathBuf { +fn db_config_dir(config: &sc_service::Configuration) -> std::path::PathBuf { config .base_path .as_ref() @@ -23,6 +23,7 @@ pub fn db_config_dir(config: &sc_service::Configuration) -> std::path::PathBuf { }) } +/// Create frontier backend. pub fn frontier_backend( config: &Configuration, client: Arc,