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 authored and GitHub committed 2020-11-20 18:34:57 +00:00
1 parent 0a5bc82529
commit 97f5bd9047
9 files changed
+33 -128

No files matched your search

+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> {