Fix test_security_multistream

This commit is contained in:
mhchia 2019-09-12 14:34:17 +08:00
parent 6cb033fd1f
commit 0c7afeebaf
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A

View File

@ -53,8 +53,8 @@ async def perform_simple_test(
node2_conn = node2.get_network().connections[peer_id_for_node(node1)]
# Perform assertion
assertion_func(node1_conn.secured_conn)
assertion_func(node2_conn.secured_conn)
assertion_func(node1_conn.conn.secured_conn)
assertion_func(node2_conn.conn.secured_conn)
# Success, terminate pending tasks.