paypro fetching working on creator and receiver

This commit is contained in:
Matias Alejo Garcia 2014-11-23 00:32:33 -03:00
commit 49cee79a6c

View file

@ -474,7 +474,7 @@ Wallet.prototype._processTxProposalPayPro = function(mergeInfo, cb) {
return cb();
log.info('Received a Payment Protocol TX Proposal');
self.fetchPaymentRequest(txp.paymentProtocolURL, function(err, merchantData) {
self.fetchPaymentRequest({url:txp.paymentProtocolURL}, function(err, merchantData) {
if (err) return cb(err);
// This will verify current TXP data vs. merchantData (e.g., out addresses)