Commit bfd402d8 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 99c7d87c
...@@ -717,7 +717,7 @@ def test_wcfs(): ...@@ -717,7 +717,7 @@ def test_wcfs():
# history of blk changes <= at # history of blk changes <= at
blkhistoryat = [_.rev for _ in vdf if blk in _.ddata and _.rev <= at] blkhistoryat = [_.rev for _ in vdf if blk in _.ddata and _.rev <= at]
if len(blkhistoryat) == 0: if len(blkhistoryat) == 0:
pinrev = '\x00' # was hole XXX -> h64 pinrev = at0 # was hole XXX -> pin to @00?
else: else:
pinrev = max(blkhistoryat) pinrev = max(blkhistoryat)
pinok[blk] = pinrev pinok[blk] = pinrev
......
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