log absence of UTXOs with address

This commit is contained in:
Jude Nelson
2017-02-20 21:05:01 -05:00
parent 9ff4f6e04c
commit cf3b4a0239

View File

@@ -108,7 +108,7 @@ def make_transaction(name, owner_addr, blockchain_client, tx_fee=0, subsidize=Fa
inputs = tx_get_unspents( owner_addr, blockchain_client )
if safety:
assert len(inputs) > 0
assert len(inputs) > 0, "No UTXOs for {}".format(owner_addr)
nulldata = build(name)
outputs = make_outputs( nulldata, inputs, owner_addr, tx_fee, pay_fee=pay_fee )