updates version and use latest bitcore params
This commit is contained in:
parent
b3759f2ee3
commit
23ba3e6ebf
1 changed files with 2 additions and 1 deletions
|
|
@ -707,11 +707,12 @@ Wallet.prototype.createTxSync = function(toAddress, amountSatStr, comment, utxos
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('[Wallet.js.714:amountSatStr:]',amountSatStr); //TODO
|
||||||
var b = new Builder(opts)
|
var b = new Builder(opts)
|
||||||
.setUnspent(utxos)
|
.setUnspent(utxos)
|
||||||
.setOutputs([{
|
.setOutputs([{
|
||||||
address: toAddress,
|
address: toAddress,
|
||||||
amountSat: amountSatStr,
|
amountSatStr: amountSatStr,
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
var selectedUtxos = b.getSelectedUnspent();
|
var selectedUtxos = b.getSelectedUnspent();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue