paypro: allow unconfirmed unspent outputs in paypro tx proposals.

This commit is contained in:
Christopher Jeffrey 2014-08-13 20:22:14 -04:00 committed by Manuel Araoz
parent 685c6e54dc
commit f64b1eee28
1 changed files with 2 additions and 2 deletions

View File

@ -932,11 +932,11 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) {
if (!unspent || !unspent.length) {
return cb(new Error('No unspent outputs available.'));
}
self.createPaymentTxSync(options, merchantData, safeUnspent);
self.createPaymentTxSync(options, merchantData, unspent);
return cb(null, merchantData, pr);
}
var ntxid = self.createPaymentTxSync(options, merchantData, safeUnspent);
var ntxid = self.createPaymentTxSync(options, merchantData, unspent);
if (ntxid) {
self.sendIndexes();
self.sendTxProposal(ntxid);