paypro: move root certs to common.

This commit is contained in:
Christopher Jeffrey 2014-07-21 13:52:09 -07:00
parent 86efcbed1b
commit 85d5e69fc1
4 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@ function main(argv, callback) {
argv = null;
}
return getRootCerts(function(err, certs) {
var file = path.resolve(__dirname, '..', 'lib', 'RootCerts.js');
var file = path.resolve(__dirname, '..', 'lib', 'common', 'RootCerts.js');
return fs.writeFile(file, certs, callback);
});
}

View File

@ -2,7 +2,7 @@
var protobufjs = protobufjs || require('protobufjs/dist/ProtoBuf');
var Message = Message || require('./Message');
var RootCerts = require('./RootCerts');
var RootCerts = require('./common/RootCerts');
// BIP 70 - payment protocol
function PayPro() {

View File

@ -4,7 +4,7 @@ var Key = require('./Key');
var KJUR = require('./x509');
var assert = require('assert');
var PayPro = require('../PayPro');
var RootCerts = require('../RootCerts');
var RootCerts = require('../common/RootCerts');
PayPro.sign = function(key) {
if (this.messageType !== 'PaymentRequest')