.
This commit is contained in:
parent
bec13978d6
commit
2564cb22d7
1 changed files with 5 additions and 5 deletions
|
|
@ -2367,17 +2367,17 @@ Wallet.prototype.createTxSync = function(toAddress, amountSatStr, comment, utxos
|
||||||
|
|
||||||
var b;
|
var b;
|
||||||
|
|
||||||
try {
|
// try {
|
||||||
b = new Builder(opts)
|
b = new Builder(opts)
|
||||||
.setUnspent(utxos)
|
.setUnspent(utxos)
|
||||||
.setOutputs([{
|
.setOutputs([{
|
||||||
address: toAddress.data,
|
address: toAddress.data,
|
||||||
amountSatStr: amountSatStr,
|
amountSatStr: amountSatStr,
|
||||||
}]);
|
}]);
|
||||||
} catch (e) {
|
// } catch (e) {
|
||||||
log.debug(e.message);
|
// log.debug(e.message);
|
||||||
return;
|
// return;
|
||||||
};
|
// };
|
||||||
|
|
||||||
var selectedUtxos = b.getSelectedUnspent();
|
var selectedUtxos = b.getSelectedUnspent();
|
||||||
var inputChainPaths = selectedUtxos.map(function(utxo) {
|
var inputChainPaths = selectedUtxos.map(function(utxo) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue