mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
log absence of UTXOs with address
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user