Removes Handshake

This commit is contained in:
Gregor Reitzenstein 2020-11-30 07:25:13 +01:00
parent d46bdbbab5
commit e94c516a5a

View File

@ -20,7 +20,6 @@ pub struct Session {
impl Session { impl Session {
pub async fn connect<A: AsyncToSocketAddrs>(log: Logger, addr: A) -> Result<Session> { pub async fn connect<A: AsyncToSocketAddrs>(log: Logger, addr: A) -> Result<Session> {
let mut stream = TcpStream::connect(addr).await?; let mut stream = TcpStream::connect(addr).await?;
handshake(&log, &mut stream).await;
let (rpc_system, api) = bootstrap(log, stream); let (rpc_system, api) = bootstrap(log, stream);
Ok(Session { Ok(Session {