Commit 9f7d7070 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent bd24d52e
......@@ -521,7 +521,7 @@ class tWatch:
# returns [] of received pin requests.
def expectPin(t, ctx, zf, expect):
expected = set() # of expected pin messages
for blk, at in expect:
for blk, at in expect.items():
msg = b"pin %s #%d @%s" % (h(zf._p_oid), blk, h(at))
assert msg not in expected
expected.add(msg)
......
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