def add_output(transaction, address, value): output = obelisk.TxOut() output.value = value output.script = obelisk.output_script(address) transaction.outputs.append(output)
def add_output(tx, address, value): output = obelisk.TxOut() output.value = value output.script = obelisk.output_script(address) tx.outputs.append(output)