mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
feat(node): remove unnecessary ConnWrapper clone in connect() (#19456)
This commit is contained in:
@@ -118,7 +118,7 @@ where
|
||||
"Successfully connected to EthStats server at {}", self.credentials.host
|
||||
);
|
||||
let conn: ConnWrapper = ConnWrapper::new(ws_stream);
|
||||
*self.conn.write().await = Some(conn.clone());
|
||||
*self.conn.write().await = Some(conn);
|
||||
self.login().await?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user