Commit a60345d8 authored by Josh Kunz's avatar Josh Kunz

Fix recv_preamble to use recv_wait instead of recv

This should avoid races between node creation and when a node actually
gets its `me` capability delivered.
parent e63103a3
Pipeline #1899 passed with stage
in 30 seconds
......@@ -5,7 +5,7 @@ NodeProperties = namedtuple("NodeProperties",
def recv_preamble(p):
rp0 = p.rp0()
me = rp0.recv()
me = rp0.recv_wait()
info = me.info()
flow = p.create(capnet.Flow)
me_props = NodeProperties(me, None, info, None, flow)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment