This commit is contained in:
pawan
2020-05-22 13:30:40 +05:30
parent f5d49287b9
commit 85d099f664
10 changed files with 30 additions and 45 deletions

View File

@@ -35,8 +35,7 @@ use std::net::SocketAddr;
use std::ops::Deref;
use std::path::PathBuf;
use std::sync::Arc;
use tokio::runtime::Handle;
use tokio::sync::{mpsc, oneshot};
use tokio::sync::mpsc;
use url_query::UrlQuery;
pub use crate::helpers::parse_pubkey_bytes;
@@ -128,7 +127,7 @@ pub fn start_server<T: BeaconChainTypes>(
"port" => actual_listen_addr.port(),
);
executor.spawn(server_future, "http_service");
executor.spawn(server_future, "http");
Ok(actual_listen_addr)
}