mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
test_read_transaction_invalid_block didn't need to write tx to backlog
This commit is contained in:
parent
191c60ce37
commit
e81283fee9
@ -245,7 +245,7 @@ class TestBigchainApi(object):
|
|||||||
inputs = input_tx.to_inputs()
|
inputs = input_tx.to_inputs()
|
||||||
tx = Transaction.transfer(inputs, [user_vk], input_tx.asset)
|
tx = Transaction.transfer(inputs, [user_vk], input_tx.asset)
|
||||||
tx = tx.sign([user_sk])
|
tx = tx.sign([user_sk])
|
||||||
b.write_transaction(tx)
|
# There's no need to b.write_transaction(tx) to the backlog
|
||||||
|
|
||||||
# create block
|
# create block
|
||||||
block = b.create_block([tx])
|
block = b.create_block([tx])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user