mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
fixed test
This commit is contained in:
parent
bc7f27e39a
commit
826db6c122
@ -196,7 +196,7 @@ class TestBigchainApi(object):
|
|||||||
from bigchaindb.models import Transaction
|
from bigchaindb.models import Transaction
|
||||||
|
|
||||||
metadata = {'msg': 'Hello BigchainDB!'}
|
metadata = {'msg': 'Hello BigchainDB!'}
|
||||||
tx = Transaction.create([b.me], [user_vk], metadata=metadata)
|
tx = Transaction.create([b.me], [([user_vk], 1)], metadata=metadata)
|
||||||
|
|
||||||
block = b.create_block([tx])
|
block = b.create_block([tx])
|
||||||
b.write_block(block, durability='hard')
|
b.write_block(block, durability='hard')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user