mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
test clarification
This commit is contained in:
parent
5b6fa13d79
commit
29247a9994
@ -16,8 +16,8 @@ def blockdata(b, user_pk, user2_pk):
|
||||
block = Block([txs[i]])
|
||||
b.write_block(block)
|
||||
blocks.append(block.to_dict())
|
||||
if i > 0:
|
||||
b.write_vote(b.vote(block.id, '', i % 2 == 1))
|
||||
b.write_vote(b.vote(blocks[1]['id'], '', True))
|
||||
b.write_vote(b.vote(blocks[2]['id'], '', False))
|
||||
return blocks, [b['id'] for b in blocks]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user