Commit bed258d1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent cfb9a002
...@@ -1044,7 +1044,7 @@ def doCheckingPin(f, pinokByWLink, pinfunc=None): # -> []event(str) ...@@ -1044,7 +1044,7 @@ def doCheckingPin(f, pinokByWLink, pinfunc=None): # -> []event(str)
pinv = wlink._expectPin(ctx, zf, pinok) pinv = wlink._expectPin(ctx, zf, pinok)
if len(pinv) > 0: if len(pinv) > 0:
ev.append('pin rx') # XXX + zf, pin details? ev.append('pin rx')
# increase probability to receive erroneous extra pins # increase probability to receive erroneous extra pins
tdelay() tdelay()
...@@ -1053,7 +1053,7 @@ def doCheckingPin(f, pinokByWLink, pinfunc=None): # -> []event(str) ...@@ -1053,7 +1053,7 @@ def doCheckingPin(f, pinokByWLink, pinfunc=None): # -> []event(str)
if pinfunc is not None: if pinfunc is not None:
for p in pinv: for p in pinv:
pinfunc(wlink, p.foid, p.blk, p.at) pinfunc(wlink, p.foid, p.blk, p.at)
ev.append('pin ack pre') # XXX +details? ev.append('pin ack pre')
for p in pinv: for p in pinv:
assert w.foid == p.foid assert w.foid == p.foid
if p.at is None: # unpin to @head if p.at is None: # unpin to @head
......
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