paypro: fix trusted check.
This commit is contained in:
parent
438820ef23
commit
f77d3bc350
1 changed files with 1 additions and 1 deletions
|
|
@ -872,7 +872,7 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) {
|
|||
var der = cert.toString('hex');
|
||||
var pem = PayPro.prototype._DERtoPEM(der, 'CERTIFICATE');
|
||||
return PayPro.RootCerts.getTrusted(pem);
|
||||
});
|
||||
}).filter(Boolean);
|
||||
|
||||
if (!trusted.length) {
|
||||
if (typeof SSL_UNTRUSTED === 'undefined') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue