Remove HostInfo::client_version() and secret() (#8677)
This commit is contained in:
committed by
Marek Kotewicz
parent
3fde07b2e1
commit
84ecab0eaf
@@ -330,10 +330,6 @@ impl<'a, T> NetworkContext for &'a T where T: ?Sized + NetworkContext {
|
||||
pub trait HostInfo {
|
||||
/// Returns public key
|
||||
fn id(&self) -> &NodeId;
|
||||
/// Returns secret key
|
||||
fn secret(&self) -> &Secret;
|
||||
/// Returns the client version.
|
||||
fn client_version(&self) -> &str;
|
||||
}
|
||||
|
||||
/// Network IO protocol handler. This needs to be implemented for each new subprotocol.
|
||||
|
||||
Reference in New Issue
Block a user