mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-03-26 22:39:00 +08:00
log absence of UTXOs with address
This commit is contained in:
@@ -137,7 +137,7 @@ def make_transaction(name, destination_address, keepdata, consensus_hash, old_ow
|
||||
|
||||
inputs = tx_get_unspents( old_owner_addr, blockchain_client )
|
||||
if safety:
|
||||
assert len(inputs) > 0
|
||||
assert len(inputs) > 0, "No UTXOs for {}".format(old_owner_addr)
|
||||
|
||||
nulldata = build(name, keepdata, consensus_hash)
|
||||
outputs = make_outputs(nulldata, inputs, destination_address, old_owner_addr, tx_fee, pay_fee=pay_fee)
|
||||
|
||||
Reference in New Issue
Block a user