paypro: deal with cached payment requests properly.

This commit is contained in:
Christopher Jeffrey 2014-07-31 12:31:14 -07:00 committed by Manuel Araoz
commit decd981bce
3 changed files with 16 additions and 15 deletions

View file

@ -17,8 +17,6 @@ angular.module('copayApp.directives')
var uri = copay.HDPath.parseBitcoinURI(value);
if (uri && uri.merchant) {
// XXX This might be unwise, it might be better to
// create a tentative TX proposal here.
scope.wallet.fetchPaymentTx(uri.merchant, function(err, merchantData) {
var txp = { merchant: merchantData };