mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
test that transfer tx cannot have no inputs
This commit is contained in:
parent
860e7cda02
commit
bbf5c49f9a
@ -122,6 +122,11 @@ def test_create_tx_no_fulfills(create_tx):
|
||||
validate_raises(tx)
|
||||
|
||||
|
||||
def test_transfer_has_inputs(signed_transfer_tx):
|
||||
signed_transfer_tx.inputs = []
|
||||
validate_raises(signed_transfer_tx)
|
||||
|
||||
|
||||
################################################################################
|
||||
# Outputs
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user