From f64b1eee28a2462df4509464558e6fb8d235bf36 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 13 Aug 2014 20:22:14 -0400 Subject: [PATCH] paypro: allow unconfirmed unspent outputs in paypro tx proposals. --- js/models/core/Wallet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index 16303944d..7b3a9d916 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -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);