mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Fixes to add python 3.6 compatibility
This commit is contained in:
@ -76,8 +76,8 @@ async def test_create_secure_session():
|
||||
local_conn = InMemoryConnection(local_peer, is_initiator=True)
|
||||
remote_conn = InMemoryConnection(remote_peer)
|
||||
|
||||
local_pipe_task = asyncio.create_task(create_pipe(local_conn, remote_conn))
|
||||
remote_pipe_task = asyncio.create_task(create_pipe(remote_conn, local_conn))
|
||||
local_pipe_task = asyncio.ensure_future(create_pipe(local_conn, remote_conn))
|
||||
remote_pipe_task = asyncio.ensure_future(create_pipe(remote_conn, local_conn))
|
||||
|
||||
local_session_builder = create_secure_session(
|
||||
local_nonce, local_peer, local_key_pair.private_key, local_conn, remote_peer
|
||||
|
||||
Reference in New Issue
Block a user