chore: lok
This commit is contained in:
@@ -117,7 +117,7 @@ async fn inner_handle_connection(
|
|||||||
|
|
||||||
// Insert the write part of this peer to the peer map.
|
// Insert the write part of this peer to the peer map.
|
||||||
let (tx, rx) = unbounded();
|
let (tx, rx) = unbounded();
|
||||||
peer_map.lock().unwrap().insert(addr, tx.clone());
|
{ peer_map.lock().unwrap().insert(addr, tx.clone()); }
|
||||||
|
|
||||||
let (outgoing, incoming) = ws_stream.split();
|
let (outgoing, incoming) = ws_stream.split();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user