paypro: fix trusted check.
This commit is contained in:
parent
f49177f0b7
commit
6c098030c3
1 changed files with 1 additions and 1 deletions
|
|
@ -832,7 +832,7 @@ Wallet.prototype._receivePaymentRequest = function(tx, options, pr, cb) {
|
|||
return RootCerts.getTrusted(pem);
|
||||
});
|
||||
|
||||
if (!trusted.length) {
|
||||
if (!trusted) {
|
||||
return cb(new Error('Not a trusted certificate.'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue