def spend_utxo(self, utxo, address_list):
    ' spend amount from previously unspent output to a provided address\n        :param      utxo:           (JSON) returned from listunspent used as input\n                    addresslist:    (string) destination address\n        :return:    txhash:         (string) tx hash if successful, empty string otherwise\n        '
    try:
        inputs = [{'txid': utxo['txid'], 'vout': utxo['vout']}]
        out_amount = ((float(utxo['amount']) - self.DEFAULT_FEE) / len(address_list))
        outputs = {}
        for address in address_list:
            outputs[address] = out_amount
        spendingTx = self.node.createrawtransaction(inputs, outputs)
        spendingTx_signed = self.node.signrawtransaction(spendingTx)
        if spendingTx_signed['complete']:
            txhash = self.node.sendrawtransaction(spendingTx_signed['hex'])
            return txhash
        else:
            self.log.warning(('Error: %s' % str(spendingTx_signed['errors'])))
            return ''
    except JSONRPCException as e:
        self.log.error(('JSONRPCException: %s' % str(e)))
        return ''
spend amount from previously unspent output to a provided address
:param      utxo:           (JSON) returned from listunspent used as input
            addresslist:    (string) destination address
:return:    txhash:         (string) tx hash if successful, empty string otherwise
def spend_utxo(self, utxo, address_list):
    ' spend amount from previously unspent output to a provided address\n        :param      utxo:           (JSON) returned from listunspent used as input\n                    addresslist:    (string) destination address\n        :return:    txhash:         (string) tx hash if successful, empty string otherwise\n        '
    try:
        inputs = [{'txid': utxo['txid'], 'vout': utxo['vout']}]
        out_amount = ((float(utxo['amount']) - self.DEFAULT_FEE) / len(address_list))
        outputs = {}
        for address in address_list:
            outputs[address] = out_amount
        spendingTx = self.node.createrawtransaction(inputs, outputs)
        spendingTx_signed = self.node.signrawtransaction(spendingTx)
        if spendingTx_signed['complete']:
            txhash = self.node.sendrawtransaction(spendingTx_signed['hex'])
            return txhash
        else:
            self.log.warning(('Error: %s' % str(spendingTx_signed['errors'])))
            return 
    except JSONRPCException as e:
        self.log.error(('JSONRPCException: %s' % str(e)))
        return 