This commit is contained in:
Matias Alejo Garcia 2014-11-01 16:29:37 -03:00
parent bec13978d6
commit 2564cb22d7
1 changed files with 5 additions and 5 deletions

View File

@ -2367,17 +2367,17 @@ Wallet.prototype.createTxSync = function(toAddress, amountSatStr, comment, utxos
var b;
try {
// try {
b = new Builder(opts)
.setUnspent(utxos)
.setOutputs([{
address: toAddress.data,
amountSatStr: amountSatStr,
}]);
} catch (e) {
log.debug(e.message);
return;
};
// } catch (e) {
// log.debug(e.message);
// return;
// };
var selectedUtxos = b.getSelectedUnspent();
var inputChainPaths = selectedUtxos.map(function(utxo) {