cleanup validator discovery (#1992)

* use snake_case for log targets

* remove unused continue

* validator_discovery: when disconnecting, use all addresses

* validator_discovery: simplify request revokation

* fix a typo
This commit is contained in:
Andronik Ordian
2020-11-20 19:34:57 +01:00
committed by GitHub
parent 0a5bc82529
commit 97f5bd9047
9 changed files with 33 additions and 128 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ use sp_api::{ProvideRuntimeApi};
use futures::prelude::*;
const LOG_TARGET: &str = "RuntimeApi";
const LOG_TARGET: &str = "runtime_api";
/// The `RuntimeApiSubsystem`. See module docs for more details.
pub struct RuntimeApiSubsystem<Client> {