From 21cbd80f8c26cf8f5cd2aee3aaee9df9330ac7f5 Mon Sep 17 00:00:00 2001 From: Weiliang Li Date: Sat, 14 Dec 2019 00:54:20 +0900 Subject: [PATCH] update comments in authority discovery (#4390) * update comments in authority discovery * Update lib.rs --- substrate/frame/authority-discovery/src/lib.rs | 2 +- substrate/primitives/authority-discovery/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/frame/authority-discovery/src/lib.rs b/substrate/frame/authority-discovery/src/lib.rs index 467b494907..c63b5d5811 100644 --- a/substrate/frame/authority-discovery/src/lib.rs +++ b/substrate/frame/authority-discovery/src/lib.rs @@ -16,7 +16,7 @@ //! # Authority discovery module. //! -//! This module is used by the `core/authority-discovery` to retrieve the +//! This module is used by the `client/authority-discovery` to retrieve the //! current set of authorities. // Ensure we're `no_std` when compiling for Wasm. diff --git a/substrate/primitives/authority-discovery/src/lib.rs b/substrate/primitives/authority-discovery/src/lib.rs index 811bcc261b..b208727148 100644 --- a/substrate/primitives/authority-discovery/src/lib.rs +++ b/substrate/primitives/authority-discovery/src/lib.rs @@ -38,7 +38,7 @@ pub type AuthoritySignature = app::Signature; sp_api::decl_runtime_apis! { /// The authority discovery api. /// - /// This api is used by the `core/authority-discovery` module to retrieve identifiers + /// This api is used by the `client/authority-discovery` module to retrieve identifiers /// of the current authority set. pub trait AuthorityDiscoveryApi { /// Retrieve authority identifiers of the current authority set.