updates version and use latest bitcore params

This commit is contained in:
Matias Alejo Garcia 2014-07-25 07:53:02 -03:00
commit 23ba3e6ebf

View file

@ -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();