mirror of https://github.com/BTCPrivate/copay.git
This commit is contained in:
parent
bec13978d6
commit
2564cb22d7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue