paypro: move root certs to common.
This commit is contained in:
parent
86efcbed1b
commit
85d5e69fc1
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue